summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/inode.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-09-16 15:35:54 +0200
committerArnd Bergmann <arnd@arndb.de>2010-10-04 21:10:47 +0200
commitcdbd2b013d2814ad39e893316943fb58e6d9ec23 (patch)
tree07994ae3286615d1cd88deea7883a1ce09adf25b /drivers/usb/gadget/inode.c
parent00e300e1b682ea86fcb5216250722afd42686ab3 (diff)
downloadop-kernel-dev-cdbd2b013d2814ad39e893316943fb58e6d9ec23.zip
op-kernel-dev-cdbd2b013d2814ad39e893316943fb58e6d9ec23.tar.gz
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c
index fc35406..3f1d771 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>
OpenPOWER on IntegriCloud