xhci: add variable 'cmd_comp_code' in handle_cmd_completion()
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 9 Sep 2013 10:29:56 +0000 (13:29 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 16 Oct 2013 19:24:34 +0000 (12:24 -0700)
commite7a79a1d6af31c050b4264099c4ab0cbee9122b8
treea0f465ca79bc54f0ad331ec847421d0f36c8e528
parent6ed46d3337b1f4a8f9fa7438589cab5f1bb75e98
xhci: add variable 'cmd_comp_code' in handle_cmd_completion()

This patch adds a new variable 'cmd_comp_code' to hold the command completion
status code aiming to reduce code duplication and to improve code readability.

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