diff options
| author | Duncan Sands <baldrick@free.fr> | 2004-04-23 02:17:35 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-04-23 02:17:35 -0700 |
| commit | f6380455f41b2e54f8fef2dedcf94d08acd6fd3b (patch) | |
| tree | bee888bb2c5bb36053f8b441c48976a0d3d7e5fc /include/linux/usbdevice_fs.h | |
| parent | 8e082a0da037efd1de7d168dc6f10c70ff65bbf6 (diff) | |
[PATCH] USB usbfs: replace the per-file semaphore with the per-device semaphore
devio.c | 43 +++++++++++++++++++++++--------------------
usbdevice_fs.h | 1 -
2 files changed, 23 insertions(+), 21 deletions(-)
Diffstat (limited to 'include/linux/usbdevice_fs.h')
| -rw-r--r-- | include/linux/usbdevice_fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h index 129927386cac..4235d9f352f2 100644 --- a/include/linux/usbdevice_fs.h +++ b/include/linux/usbdevice_fs.h @@ -154,7 +154,6 @@ struct usbdevfs_hub_portinfo { struct dev_state { struct list_head list; /* state list */ - struct rw_semaphore devsem; /* protects modifications to dev (dev == NULL indicating disconnect) */ struct usb_device *dev; struct file *file; spinlock_t lock; /* protects the async urb lists */ |
