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/mutex.h>
#include <linux/uaccess.h>
-#include <linux/smp_lock.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/poll.h>
int retval = 0;
struct usb_interface *interface;
- lock_kernel();
nonseekable_open(inode, file);
subminor = iminor(inode);
unlock_disconnect_exit:
mutex_unlock(&disconnect_mutex);
- unlock_kernel();
return retval;
}
#include <linux/mutex.h>
#include <linux/uaccess.h>
-#include <linux/smp_lock.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/poll.h>
int retval = 0;
struct usb_interface *interface;
- lock_kernel();
nonseekable_open(inode, file);
subminor = iminor(inode);
unlock_disconnect_exit:
mutex_unlock(&disconnect_mutex);
- unlock_kernel();
return retval;
}