diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-04 14:31:18 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:36:07 -0700 |
commit | 6610944a91079a4002da310d3d5488feaae4a74a (patch) | |
tree | 306a62bfbdad7d2f1ff7b49e9d4da3c0e5bda47e /drivers/staging/hv | |
parent | 375d65db27544a183aed5e14aa2ed487c796c78d (diff) |
Staging: hv: fix up sparse warning in hyperv_utils.c
The function isn't called by anyone else, so mark it static.
Also remove version.h, as it is not needed.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | drivers/staging/hv/hyperv_utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/hv/hyperv_utils.c b/drivers/staging/hv/hyperv_utils.c index ca52fbada7d..cbebad3e40a 100644 --- a/drivers/staging/hv/hyperv_utils.c +++ b/drivers/staging/hv/hyperv_utils.c @@ -24,7 +24,6 @@ #include <linux/slab.h> #include <linux/sysctl.h> #include <linux/reboot.h> -#include <linux/version.h> #include "logging.h" #include "osd.h" @@ -38,7 +37,7 @@ #include "utils.h" -void shutdown_onchannelcallback(void *context) +static void shutdown_onchannelcallback(void *context) { struct vmbus_channel *channel = context; u8 *buf; |