diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-09-16 15:35:54 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2010-10-04 21:10:47 +0200 |
commit | cdbd2b013d2814ad39e893316943fb58e6d9ec23 (patch) | |
tree | 07994ae3286615d1cd88deea7883a1ce09adf25b /drivers/usb/gadget/inode.c | |
parent | 00e300e1b682ea86fcb5216250722afd42686ab3 (diff) | |
download | lwn-cdbd2b013d2814ad39e893316943fb58e6d9ec23.tar.gz lwn-cdbd2b013d2814ad39e893316943fb58e6d9ec23.zip |
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 @@ #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> |