summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/dell-laptop.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-06-08 14:56:42 +0800
committerMatthew Garrett <mjg@redhat.com>2011-08-05 14:45:35 -0400
commit2605d753e488330f61000f1b2dc72d1668fba4ac (patch)
treea1599803eb6795aed95f98a17c16e8aeec2292d2 /drivers/platform/x86/dell-laptop.c
parent7b8aca65db5dd1aaa6dc1e11f6bfcc0ecd6bc8a4 (diff)
platform-drivers-x86: dell-laptop: Remove unneeded mutex_init() for buffer_mutex
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>
Diffstat (limited to 'drivers/platform/x86/dell-laptop.c')
-rw-r--r--drivers/platform/x86/dell-laptop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index e39ab1d3ed87..f31fa4efa725 100644
--- 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();