BKL 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/uaccess.h>
#include <linux/kref.h>
#include <linux/mutex.h>
-#include <linux/smp_lock.h>
#include <linux/usb.h>
#include <linux/usb/tmc.h>
struct usbtmc_device_data *data;
int retval = 0;
- lock_kernel();
intf = usb_find_interface(&usbtmc_driver, iminor(inode));
if (!intf) {
printk(KERN_ERR KBUILD_MODNAME
filp->private_data = data;
exit:
- unlock_kernel();
return retval;
}