From: Greg Kroah-Hartman Date: Tue, 4 May 2010 21:31:18 +0000 (-0700) Subject: Staging: hv: fix up sparse warning in hyperv_utils.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6610944a91079a4002da310d3d5488feaae4a74a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/hyperv_utils.c b/drivers/staging/hv/hyperv_utils.c index ca52fbada7d1..cbebad3e40a0 100644 --- a/drivers/staging/hv/hyperv_utils.c +++ b/drivers/staging/hv/hyperv_utils.c @@ -24,7 +24,6 @@ #include #include #include -#include #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;