BKL was not needed at all. Removed without replacement.
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Acked-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
#include <linux/slab.h>
#include <linux/lp.h>
#include <linux/mutex.h>
-#include <linux/smp_lock.h>
#undef DEBUG
#include <linux/usb.h>
if (minor < 0)
return -ENODEV;
- lock_kernel();
mutex_lock (&usblp_mutex);
retval = -ENODEV;
}
out:
mutex_unlock (&usblp_mutex);
- unlock_kernel();
return retval;
}