mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Matthew Garrett <[email protected]>
This commit is contained in:
parent
7b8aca65db
commit
2605d753e4
1 changed files with 0 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue