BKL was not needed at all. Removed without replacement.
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
#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>
dbg(2, "%s: enter", __func__);
- lock_kernel();
nonseekable_open(inode, file);
subminor = iminor(inode);
mutex_unlock(&dev->lock);
exit:
- unlock_kernel();
dbg(2, "%s: leave, return value %d ", __func__, retval);
return retval;