BKL: Remove BKL from USB gadgetfs
authorArnd Bergmann <arnd@arndb.de>
Thu, 16 Sep 2010 13:35:54 +0000 (15:35 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 4 Oct 2010 19:10:47 +0000 (21:10 +0200)
The BKL is only used in fill_super, which is  protected by the superblocks
s_umount rw_semaphore. Therefore it is safe to remove the BKL entirely.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: linux-usb@vger.kernel.org
drivers/usb/gadget/inode.c

index fc35406fc80c3e72562bbb96068f99e462663842..3f1d771c8be584c28c54d356e8238de954626c32 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/poll.h>
-#include <linux/smp_lock.h>
 
 #include <linux/device.h>
 #include <linux/moduleparam.h>