xhci: replace 'event' with 'cmd_comp_code' in set_deq and reset_ep handlers
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 9 Sep 2013 10:30:01 +0000 (13:30 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 16 Oct 2013 19:24:41 +0000 (12:24 -0700)
commitc69a059783b241c42188d472e2e9460d3cd4a4cc
tree9744b9a331c113eaece9539c61eeaacd110ca8f8
parentb8200c9479b8046a16a71648607fa796b548218b
xhci: replace 'event' with 'cmd_comp_code' in set_deq and reset_ep handlers

This patch replaces the 'event' argument of xhci_handle_cmd_set_deq() and
xhci_handle_cmd_reset_ep(), which is used to retrieve the command completion
status code, with the cmd_comp_code directly, since it is available.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ring.c