diff options
author | Ming Lei <tom.leiming@gmail.com> | 2008-06-14 21:42:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:32 -0400 |
commit | 625f694936cbbdee98e6cc65f72724a7660e7946 (patch) | |
tree | a802abcee5ef4d1e24409a615af8c97843f639e5 /drivers/usb/storage | |
parent | 33578bd706e40eb877bd87bfc47e5da30034afde (diff) |
USB: remove interface parameter of usb_reset_composite_device
From the current implementation of usb_reset_composite_device
function, the iface parameter is no longer useful. This function
doesn't do something special for the iface usb_interface,compared
with other interfaces in the usb_device. So remove the parameter
and fix the related caller.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c index 08d3a13fec2c..670e4cbd1f06 100644 --- a/drivers/usb/storage/transport.c +++ b/drivers/usb/storage/transport.c | |||
@@ -1172,8 +1172,7 @@ int usb_stor_port_reset(struct us_data *us) | |||
1172 | result = -EIO; | 1172 | result = -EIO; |
1173 | US_DEBUGP("No reset during disconnect\n"); | 1173 | US_DEBUGP("No reset during disconnect\n"); |
1174 | } else { | 1174 | } else { |
1175 | result = usb_reset_composite_device( | 1175 | result = usb_reset_composite_device(us->pusb_dev); |
1176 | us->pusb_dev, us->pusb_intf); | ||
1177 | US_DEBUGP("usb_reset_composite_device returns %d\n", | 1176 | US_DEBUGP("usb_reset_composite_device returns %d\n", |
1178 | result); | 1177 | result); |
1179 | } | 1178 | } |