瀏覽代碼

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 年之前
父節點
當前提交
cdbd2b013d
共有 1 個文件被更改,包括 0 次插入1 次删除
  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/slab.h>
 #include <linux/poll.h>
-#include <linux/smp_lock.h>
 
 #include <linux/device.h>
 #include <linux/moduleparam.h>