Staging: hv: fix up sparse warning in hyperv_utils.c
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 May 2010 21:31:18 +0000 (14:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:07 +0000 (11:36 -0700)
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>
drivers/staging/hv/hyperv_utils.c

index ca52fbada7d10a85f4eb204d2bb376c9fd570d25..cbebad3e40a0ba753e5a711c0b34875e4ca41628 100644 (file)
@@ -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;