From 2605d753e488330f61000f1b2dc72d1668fba4ac Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 8 Jun 2011 14:56:42 +0800 Subject: 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 Signed-off-by: Matthew Garrett --- drivers/platform/x86/dell-laptop.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/platform') diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index e39ab1d3ed8..f31fa4efa72 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(); -- cgit v1.2.3-70-g09d2