kernel/drivers/usb/core/sysfs.c
.. .. @@ -889,11 +889,7 @@ 889 889 size_t srclen, n; 890 890 int cfgno; 891 891 void *src; 892 - int retval;893 892 894 - retval = usb_lock_device_interruptible(udev);895 - if (retval < 0)896 - return -EINTR;897 893 /* The binary attribute begins with the device descriptor. 898 894 * Following that are the raw descriptor entries for all the 899 895 * configurations (config plus subsidiary descriptors). .. .. @@ -918,7 +914,6 @@ 918 914 off -= srclen; 919 915 } 920 916 } 921 - usb_unlock_device(udev);922 917 return count - nleft; 923 918 } 924 919