diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-14 08:30:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-18 19:41:52 -0500 |
commit | 8712954d15f194f9639f60e6347797d784c03abb (patch) | |
tree | 9e211cf92024a316661b8977ae7bf129801b0eb0 /drivers/hv/hv.c | |
parent | 1bdd2c45ccc2b1801e3b114fe6fd008439c6c5a9 (diff) |
drivers: hv: Mark the function hv_synic_free_cpu() as static in hv.c
This patch marks the function hv_synic_free_cpu() as static in hv.c
because it is not used outside this file.
Thus, it also eliminates the following warning in hv.c:
drivers/hv/hv.c:304:6: warning: no previous prototype for ‘hv_synic_free_cpu’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv.c')
-rw-r--r-- | drivers/hv/hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index f0c5e07c25ec..bcb49502c3bf 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c | |||
@@ -301,7 +301,7 @@ err: | |||
301 | return -ENOMEM; | 301 | return -ENOMEM; |
302 | } | 302 | } |
303 | 303 | ||
304 | void hv_synic_free_cpu(int cpu) | 304 | static void hv_synic_free_cpu(int cpu) |
305 | { | 305 | { |
306 | kfree(hv_context.event_dpc[cpu]); | 306 | kfree(hv_context.event_dpc[cpu]); |
307 | if (hv_context.synic_event_page[cpu]) | 307 | if (hv_context.synic_event_page[cpu]) |