OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f24c96e
)
asus-wmi: Fix unused function build warning
author
Shuah Khan
<shuah.khan@hp.com>
Mon, 14 Jan 2013 22:50:40 +0000
(15:50 -0700)
committer
Matthew Garrett
<matthew.garrett@nebula.com>
Wed, 27 Feb 2013 13:30:42 +0000
(08:30 -0500)
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>
drivers/platform/x86/asus-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-wmi.c
b/drivers/platform/x86/asus-wmi.c
index
e41eae3
..
c11b242
100644
(file)
--- 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;