projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b8aca6
)
platform-drivers-x86: dell-laptop: Remove unneeded mutex_init() for buffer_mutex
author
Axel Lin
<axel.lin@gmail.com>
Wed, 8 Jun 2011 06:56:42 +0000
(14:56 +0800)
committer
Matthew Garrett
<mjg@redhat.com>
Fri, 5 Aug 2011 18:45:35 +0000
(14:45 -0400)
DEFINE_MUTEX() will automatically initialize buffer_mutex,
no need to call mutex_init() in dell_init().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/dell-laptop.c
b/drivers/platform/x86/dell-laptop.c
index
e39ab1d
..
f31fa4e
100644
(file)
--- a/
drivers/platform/x86/dell-laptop.c
+++ b/
drivers/platform/x86/dell-laptop.c
@@
-612,7
+612,6
@@
static int __init dell_init(void)
if (!bufferpage)
goto fail_buffer;
buffer = page_address(bufferpage);
- mutex_init(&buffer_mutex);
ret = dell_setup_rfkill();