From 2adb95d83f6e915a7d3793a8f6aa8e6e9463357c Mon Sep 17 00:00:00 2001 From: Shuah Khan Date: Mon, 14 Jan 2013 15:50:40 -0700 Subject: asus-wmi: Fix unused function build warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- drivers/platform/x86/asus-wmi.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/platform') 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; -- cgit v1.2.3