summaryrefslogtreecommitdiffstats
path: root/drivers/platform
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
parentf24c96eae58aeea4c36fb064cf3ee9734933f8fc (diff)
downloadop-kernel-dev-2adb95d83f6e915a7d3793a8f6aa8e6e9463357c.zip
op-kernel-dev-2adb95d83f6e915a7d3793a8f6aa8e6e9463357c.tar.gz
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')
-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 e41eae3..c11b242 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;
OpenPOWER on IntegriCloud