make rangeset_printk() static

rangeset_printk() is only used locally, so it can be made static.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Juergen Gross authored and Jan Beulich committed 2020-02-18 16:25:42 +01:00
1 parent a3134a2eb0
commit b5b8c93a73
2 files changed
+1 -4

No files matched your search

+1 -2
View File
@@ -541,8 +541,7 @@ static void print_limit(struct rangeset *r, unsigned long s)
printk((r->flags & RANGESETF_prettyprint_hex) ? "%lx" : "%lu", s);
}
void rangeset_printk(
struct rangeset *r)
static void rangeset_printk(struct rangeset *r)
{
int nr_printed = 0;
struct range *x;
-2
View File
@@ -95,8 +95,6 @@ bool_t __must_check rangeset_contains_singleton(
void rangeset_swap(struct rangeset *a, struct rangeset *b);
/* Rangeset pretty printing. */
void rangeset_printk(
struct rangeset *r);
void rangeset_domain_printk(
struct domain *d);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.