Skip to content

Commit

Permalink
Staging: hv: fix up sparse warning in hyperv_utils.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent 375d65d commit 6610944
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/hv/hyperv_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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;
Expand Down

0 comments on commit 6610944

Please sign in to comment.