Commit 2adb95d8 authored by Shuah Khan's avatar Shuah Khan Committed by Matthew Garrett

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: default avatarShuah Khan <shuah.khan@hp.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent f24c96ea
...@@ -1353,11 +1353,6 @@ static int is_display_toggle(int code) ...@@ -1353,11 +1353,6 @@ static int is_display_toggle(int code)
return 0; return 0;
} }
static void do_nothing(void)
{
return;
}
static void asus_wmi_notify(u32 value, void *context) static void asus_wmi_notify(u32 value, void *context)
{ {
struct asus_wmi *asus = context; struct asus_wmi *asus = context;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment