summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
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
parent00e300e1b682ea86fcb5216250722afd42686ab3 (diff)
downloadblackbird-op-linux-cdbd2b013d2814ad39e893316943fb58e6d9ec23.tar.gz
blackbird-op-linux-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')
-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 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>
OpenPOWER on IntegriCloud