Commit 2605d753 authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 7b8aca65
...@@ -612,7 +612,6 @@ static int __init dell_init(void) ...@@ -612,7 +612,6 @@ static int __init dell_init(void)
if (!bufferpage) if (!bufferpage)
goto fail_buffer; goto fail_buffer;
buffer = page_address(bufferpage); buffer = page_address(bufferpage);
mutex_init(&buffer_mutex);
ret = dell_setup_rfkill(); ret = dell_setup_rfkill();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment