Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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();