aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorShuah Khan <shuah.khan@hp.com>2013-01-14 17:50:40 -0500
committerMatthew Garrett <matthew.garrett@nebula.com>2013-02-27 08:30:42 -0500
commit2adb95d83f6e915a7d3793a8f6aa8e6e9463357c (patch)
tree4b691d3eee17f98e52bb1a3e560be4e649804633 /drivers/platform
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')
-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)
1353 return 0; 1353 return 0;
1354} 1354}
1355 1355
1356static void do_nothing(void)
1357{
1358 return;
1359}
1360
1361static void asus_wmi_notify(u32 value, void *context) 1356static void asus_wmi_notify(u32 value, void *context)
1362{ 1357{
1363 struct asus_wmi *asus = context; 1358 struct asus_wmi *asus = context;