diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-09-16 09:35:54 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2010-10-04 15:10:47 -0400 |
commit | cdbd2b013d2814ad39e893316943fb58e6d9ec23 (patch) | |
tree | 07994ae3286615d1cd88deea7883a1ce09adf25b /drivers/usb/gadget/inode.c | |
parent | 00e300e1b682ea86fcb5216250722afd42686ab3 (diff) |
BKL: Remove BKL from USB gadgetfs
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
Diffstat (limited to 'drivers/usb/gadget/inode.c')
-rw-r--r-- | drivers/usb/gadget/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index fc35406fc80c..3f1d771c8be5 100644 --- a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <linux/sched.h> | 33 | #include <linux/sched.h> |
34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
35 | #include <linux/poll.h> | 35 | #include <linux/poll.h> |
36 | #include <linux/smp_lock.h> | ||
37 | 36 | ||
38 | #include <linux/device.h> | 37 | #include <linux/device.h> |
39 | #include <linux/moduleparam.h> | 38 | #include <linux/moduleparam.h> |