asus-wmi: Fix unused function build warning
authorShuah Khan <shuah.khan@hp.com>
Mon, 14 Jan 2013 22:50:40 +0000 (15:50 -0700)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 27 Feb 2013 13:30:42 +0000 (08:30 -0500)
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 <shuah.khan@hp.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/asus-wmi.c

index e41eae315852b3effafc7d9ce70c1aaa5b950ec2..c11b2426dac14f551e84560d6c4385446396cb14 100644 (file)
@@ -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;