summaryrefslogtreecommitdiff
path: root/drivers/platform/x86
diff options
context:
space:
mode:
authorShuah Khan <shuah.khan@hp.com>2013-01-14 15:50:40 -0700
committerMatthew Garrett <matthew.garrett@nebula.com>2013-02-27 08:30:42 -0500
commit2adb95d83f6e915a7d3793a8f6aa8e6e9463357c (patch)
tree4b691d3eee17f98e52bb1a3e560be4e649804633 /drivers/platform/x86
parentf24c96eae58aeea4c36fb064cf3ee9734933f8fc (diff)
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 <shuah.khan@hp.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r--drivers/platform/x86/asus-wmi.c5
1 files changed, 0 insertions, 5 deletions
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;