* [PATCH 6/9] USB usbfs: fix up releaseintf
@ 2004-04-14 10:41 Duncan Sands
0 siblings, 0 replies; only message in thread
From: Duncan Sands @ 2004-04-14 10:41 UTC (permalink / raw)
To: Greg KH; +Cc: linux-usb-devel, linux-kernel, Frederic Detienne
The semaphore is now taken in the callers.
devio.c | 2 --
1 files changed, 2 deletions(-)
diff -Nru a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
--- a/drivers/usb/core/devio.c Wed Apr 14 12:18:08 2004
+++ b/drivers/usb/core/devio.c Wed Apr 14 12:18:08 2004
@@ -399,7 +399,6 @@
return -EINVAL;
err = -EINVAL;
dev = ps->dev;
- down(&dev->serialize);
/* lock against other changes to driver bindings */
down_write(&usb_bus_type.subsys.rwsem);
if (test_and_clear_bit(intf, &ps->ifclaimed)) {
@@ -408,7 +407,6 @@
err = 0;
}
up_write(&usb_bus_type.subsys.rwsem);
- up(&dev->serialize);
return err;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-14 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-14 10:41 [PATCH 6/9] USB usbfs: fix up releaseintf Duncan Sands
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox