diff options
author | Lin Wang <lin.x.wang@intel.com> | 2015-01-09 15:06:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-09 19:05:47 +0100 |
commit | dc0b177cf8be1e7371cfb92cfbccac595bf8dac8 (patch) | |
tree | 05c3e7f1459aabe9863b651f0011fea5e47fa1b8 /drivers/usb/host/xhci-ring.c | |
parent | xhci: Clean up work to xhci_add_endpoint(). (diff) | |
download | linux-dc0b177cf8be1e7371cfb92cfbccac595bf8dac8.tar.xz linux-dc0b177cf8be1e7371cfb92cfbccac595bf8dac8.zip |
xhci: remove unused parameter 'xhci' in function xhci_handshake().
Parameter 'xhci' is no longer be used in function xhci_handshake(),
just remove it.
Signed-off-by: Lin Wang <lin.x.wang@intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index e692e769c50c..c84a959b1480 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -299,7 +299,7 @@ static int xhci_abort_cmd_ring(struct xhci_hcd *xhci) * seconds), then it should assume that the there are * larger problems with the xHC and assert HCRST. */ - ret = xhci_handshake(xhci, &xhci->op_regs->cmd_ring, + ret = xhci_handshake(&xhci->op_regs->cmd_ring, CMD_RING_RUNNING, 0, 5 * 1000 * 1000); if (ret < 0) { xhci_err(xhci, "Stopped the command ring failed, " |