Skip to contentSkip to conversation

gnttab_usage_print() should be static

PATCH In review Jan Beulich 2 participants 2 messages Dec 6, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnttab_usage_print() should be static

... as not being used or declared anywhere else.

xen/common/grant_table.c +1 -1
@@ -2802,7 +2802,7 @@ grant_table_destroy(
     d->grant_table = NULL;
 }
 
-void gnttab_usage_print(struct domain *rd)
+static void gnttab_usage_print(struct domain *rd)
 {
     int first = 1;
     grant_ref_t ref;

gnttab_usage_print() should be static

... as not being used or declared anywhere else.

xen/common/grant_table.c +1 -1
@@ -2802,7 +2802,7 @@ grant_table_destroy(
     d->grant_table = NULL;
 }
 
-void gnttab_usage_print(struct domain *rd)
+static void gnttab_usage_print(struct domain *rd)
 {
     int first = 1;
     grant_ref_t ref;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jan Beulich

... as not being used or declared anywhere else.

Quoted 18 lines
xen/common/grant_table.c +1 -1
@@ -2802,7 +2802,7 @@ grant_table_destroy(
     d->grant_table = NULL;
 }
 
-void gnttab_usage_print(struct domain *rd)
+static void gnttab_usage_print(struct domain *rd)
 {
     int first = 1;
     grant_ref_t ref;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel