From: Arnd Bergmann Date: Thu, 16 Sep 2010 13:35:54 +0000 (+0200) Subject: BKL: Remove BKL from USB gadgetfs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cdbd2b013d2814ad39e893316943fb58e6d9ec23;p=linux-beck.git 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 Cc: David Brownell Cc: linux-usb@vger.kernel.org --- 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 #include #include -#include #include #include