summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/transport.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2008-06-15 09:42:02 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 15:16:32 -0700
commit625f694936cbbdee98e6cc65f72724a7660e7946 (patch)
treea802abcee5ef4d1e24409a615af8c97843f639e5 /drivers/usb/storage/transport.c
parent33578bd706e40eb877bd87bfc47e5da30034afde (diff)
downloadtalos-op-linux-625f694936cbbdee98e6cc65f72724a7660e7946.tar.gz
talos-op-linux-625f694936cbbdee98e6cc65f72724a7660e7946.zip
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/transport.c')
-rw-r--r--drivers/usb/storage/transport.c3
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)
result = -EIO;
US_DEBUGP("No reset during disconnect\n");
} else {
- result = usb_reset_composite_device(
- us->pusb_dev, us->pusb_intf);
+ result = usb_reset_composite_device(us->pusb_dev);
US_DEBUGP("usb_reset_composite_device returns %d\n",
result);
}
OpenPOWER on IntegriCloud