PERFORCE change 159677 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Mar 23 07:55:58 PDT 2009
http://perforce.freebsd.org/chv.cgi?CH=159677
Change 159677 by hselasky at hselasky_laptop001 on 2009/03/23 14:55:52
USB core: Remove redundant locking.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb_device.c#13 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb_device.c#13 (text+ko) ====
@@ -1647,9 +1647,7 @@
DPRINTF("setting config %u\n", config_index);
/* get the USB device configured */
- sx_xlock(udev->default_sx + 1);
err = usb2_set_config_index(udev, config_index);
- sx_unlock(udev->default_sx + 1);
if (err) {
if (udev->ddesc.bNumConfigurations != 0) {
if (!set_config_failed) {
More information about the p4-projects
mailing list