Browse Source

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
Arnd Bergmann 14 years ago
parent
commit
cdbd2b013d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/usb/gadget/inode.c

+ 0 - 1
drivers/usb/gadget/inode.c

@@ -33,7 +33,6 @@
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/slab.h>
 #include <linux/poll.h>
 #include <linux/poll.h>
-#include <linux/smp_lock.h>
 
 
 #include <linux/device.h>
 #include <linux/device.h>
 #include <linux/moduleparam.h>
 #include <linux/moduleparam.h>