From: Shuah Khan Date: Mon, 14 Jan 2013 22:50:40 +0000 (-0700) Subject: asus-wmi: Fix unused function build warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2adb95d83f6e915a7d3793a8f6aa8e6e9463357c;p=linux-beck.git asus-wmi: Fix unused function build warning Fix the following build warning CC [M] drivers/platform/x86/asus-wmi.o drivers/platform/x86/asus-wmi.c:1356:13: warning: ‘do_nothing’ defined but not used [-Wunused-function] Signed-off-by: Shuah Khan Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index e41eae315852..c11b2426dac1 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -1353,11 +1353,6 @@ static int is_display_toggle(int code) return 0; } -static void do_nothing(void) -{ - return; -} - static void asus_wmi_notify(u32 value, void *context) { struct asus_wmi *asus = context;