Commit ec3cdfd6 authored by Niklas Neronin's avatar Niklas Neronin Committed by Greg Kroah-Hartman

usb: xhci: remove unused argument from xhci_handle_cmd_config_ep()

Argument u32 'cmd_comp_code' is not used, and as a consequence
is removed.
Signed-off-by: default avatarNiklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240626124835.1023046-8-mathias.nyman@linux.intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3dd91ff6
...@@ -1516,8 +1516,7 @@ static void xhci_handle_cmd_disable_slot(struct xhci_hcd *xhci, int slot_id) ...@@ -1516,8 +1516,7 @@ static void xhci_handle_cmd_disable_slot(struct xhci_hcd *xhci, int slot_id)
xhci_free_device_endpoint_resources(xhci, virt_dev, true); xhci_free_device_endpoint_resources(xhci, virt_dev, true);
} }
static void xhci_handle_cmd_config_ep(struct xhci_hcd *xhci, int slot_id, static void xhci_handle_cmd_config_ep(struct xhci_hcd *xhci, int slot_id)
u32 cmd_comp_code)
{ {
struct xhci_virt_device *virt_dev; struct xhci_virt_device *virt_dev;
struct xhci_input_control_ctx *ctrl_ctx; struct xhci_input_control_ctx *ctrl_ctx;
...@@ -1766,7 +1765,7 @@ static void handle_cmd_completion(struct xhci_hcd *xhci, ...@@ -1766,7 +1765,7 @@ static void handle_cmd_completion(struct xhci_hcd *xhci,
break; break;
case TRB_CONFIG_EP: case TRB_CONFIG_EP:
if (!cmd->completion) if (!cmd->completion)
xhci_handle_cmd_config_ep(xhci, slot_id, cmd_comp_code); xhci_handle_cmd_config_ep(xhci, slot_id);
break; break;
case TRB_EVAL_CONTEXT: case TRB_EVAL_CONTEXT:
break; break;
......
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