Commit 07a37e9e authored by Xenia Ragiadakou's avatar Xenia Ragiadakou Committed by Sarah Sharp

xhci: remove unused argument from xhci_giveback_urb_in_irq()

This patch removes the "adjective" argument from xhci_giveback_urb_in_irq(),
since it is not used in the function anymore.
Signed-off-by: default avatarXenia Ragiadakou <burzalodowa@gmail.com>
Acked-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
parent d194c031
...@@ -726,7 +726,7 @@ static void xhci_stop_watchdog_timer_in_irq(struct xhci_hcd *xhci, ...@@ -726,7 +726,7 @@ static void xhci_stop_watchdog_timer_in_irq(struct xhci_hcd *xhci,
/* Must be called with xhci->lock held in interrupt context */ /* Must be called with xhci->lock held in interrupt context */
static void xhci_giveback_urb_in_irq(struct xhci_hcd *xhci, static void xhci_giveback_urb_in_irq(struct xhci_hcd *xhci,
struct xhci_td *cur_td, int status, char *adjective) struct xhci_td *cur_td, int status)
{ {
struct usb_hcd *hcd; struct usb_hcd *hcd;
struct urb *urb; struct urb *urb;
...@@ -891,7 +891,7 @@ static void handle_stopped_endpoint(struct xhci_hcd *xhci, ...@@ -891,7 +891,7 @@ static void handle_stopped_endpoint(struct xhci_hcd *xhci,
/* Doesn't matter what we pass for status, since the core will /* Doesn't matter what we pass for status, since the core will
* just overwrite it (because the URB has been unlinked). * just overwrite it (because the URB has been unlinked).
*/ */
xhci_giveback_urb_in_irq(xhci, cur_td, 0, "cancelled"); xhci_giveback_urb_in_irq(xhci, cur_td, 0);
/* Stop processing the cancelled list if the watchdog timer is /* Stop processing the cancelled list if the watchdog timer is
* running. * running.
...@@ -1001,7 +1001,7 @@ void xhci_stop_endpoint_command_watchdog(unsigned long arg) ...@@ -1001,7 +1001,7 @@ void xhci_stop_endpoint_command_watchdog(unsigned long arg)
if (!list_empty(&cur_td->cancelled_td_list)) if (!list_empty(&cur_td->cancelled_td_list))
list_del_init(&cur_td->cancelled_td_list); list_del_init(&cur_td->cancelled_td_list);
xhci_giveback_urb_in_irq(xhci, cur_td, xhci_giveback_urb_in_irq(xhci, cur_td,
-ESHUTDOWN, "killed"); -ESHUTDOWN);
} }
while (!list_empty(&temp_ep->cancelled_td_list)) { while (!list_empty(&temp_ep->cancelled_td_list)) {
cur_td = list_first_entry( cur_td = list_first_entry(
...@@ -1010,7 +1010,7 @@ void xhci_stop_endpoint_command_watchdog(unsigned long arg) ...@@ -1010,7 +1010,7 @@ void xhci_stop_endpoint_command_watchdog(unsigned long arg)
cancelled_td_list); cancelled_td_list);
list_del_init(&cur_td->cancelled_td_list); list_del_init(&cur_td->cancelled_td_list);
xhci_giveback_urb_in_irq(xhci, cur_td, xhci_giveback_urb_in_irq(xhci, cur_td,
-ESHUTDOWN, "killed"); -ESHUTDOWN);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment