summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin2011-06-08 08:56:42 +0200
committerMatthew Garrett2011-08-05 20:45:35 +0200
commit2605d753e488330f61000f1b2dc72d1668fba4ac (patch)
treea1599803eb6795aed95f98a17c16e8aeec2292d2 /drivers
parentacer-wmi: schedule threeg and interface sysfs for feature removal (diff)
downloadkernel-qcow2-linux-2605d753e488330f61000f1b2dc72d1668fba4ac.tar.gz
kernel-qcow2-linux-2605d753e488330f61000f1b2dc72d1668fba4ac.tar.xz
kernel-qcow2-linux-2605d753e488330f61000f1b2dc72d1668fba4ac.zip
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')
-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();