diff options
author | Lin Wang <lin.x.wang@intel.com> | 2015-01-09 16:06:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-09 10:05:47 -0800 |
commit | dc0b177cf8be1e7371cfb92cfbccac595bf8dac8 (patch) | |
tree | 05c3e7f1459aabe9863b651f0011fea5e47fa1b8 /drivers/usb/host/xhci-ring.c | |
parent | 92c9691bf38007853345f719543908d1383e3e46 (diff) | |
download | op-kernel-dev-dc0b177cf8be1e7371cfb92cfbccac595bf8dac8.zip op-kernel-dev-dc0b177cf8be1e7371cfb92cfbccac595bf8dac8.tar.gz |
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 e692e76..c84a959 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, " |