From: Arnd Bergmann Date: Thu, 16 Sep 2010 13:35:54 +0000 (+0200) Subject: BKL: Remove BKL from USB gadgetfs X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~20119^2~12 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=cdbd2b013d2814ad39e893316943fb58e6d9ec23;p=mirror_ubuntu-artful-kernel.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