mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
375d65db27
commit
6610944a91
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user