Skip to content

Commit

Permalink
asus-wmi: Fix unused function build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shuah Khan authored and Matthew Garrett committed Feb 27, 2013
1 parent f24c96e commit 2adb95d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/platform/x86/asus-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2adb95d

Please sign in to comment.