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

Commit 3c02b1d7 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman
Browse files

USB: BKL removal: legousbtower



BKL was not needed at all. Removed without replacement.

Signed-off-by: default avatarOliver Neukum <oliver@neukum.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6248c52f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -82,7 +82,6 @@
#include <linux/module.h>
#include <linux/completion.h>
#include <linux/mutex.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/poll.h>
@@ -346,7 +345,6 @@ static int tower_open (struct inode *inode, struct file *file)

	dbg(2, "%s: enter", __func__);

	lock_kernel();
	nonseekable_open(inode, file);
	subminor = iminor(inode);

@@ -432,7 +430,6 @@ static int tower_open (struct inode *inode, struct file *file)
	mutex_unlock(&dev->lock);

exit:
	unlock_kernel();
	dbg(2, "%s: leave, return value %d ", __func__, retval);

	return retval;