Skip to content

Commit 2c0df12

Browse files
Epicuriusgregkh
authored andcommitted
usb: xhci: remove unused argument from handle_port_status()
Argument struct 'xhci_interrupter *ir' is not used, and as a consequence is removed. Signed-off-by: Niklas Neronin <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ec3cdfd commit 2c0df12

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/usb/host/xhci-ring.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,9 +1883,7 @@ static void xhci_cavium_reset_phy_quirk(struct xhci_hcd *xhci)
18831883
} while (!(pll_lock_check & 0x1) && --retry_count);
18841884
}
18851885

1886-
static void handle_port_status(struct xhci_hcd *xhci,
1887-
struct xhci_interrupter *ir,
1888-
union xhci_trb *event)
1886+
static void handle_port_status(struct xhci_hcd *xhci, union xhci_trb *event)
18891887
{
18901888
struct usb_hcd *hcd;
18911889
u32 port_id;
@@ -2980,7 +2978,7 @@ static int xhci_handle_event_trb(struct xhci_hcd *xhci, struct xhci_interrupter
29802978
handle_cmd_completion(xhci, &event->event_cmd);
29812979
break;
29822980
case TRB_PORT_STATUS:
2983-
handle_port_status(xhci, ir, event);
2981+
handle_port_status(xhci, event);
29842982
break;
29852983
case TRB_TRANSFER:
29862984
handle_tx_event(xhci, ir, &event->trans_event);

0 commit comments

Comments
 (0)