]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xhci: add variable 'cmd_type' in handle_cmd_completion()
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 9 Sep 2013 10:29:58 +0000 (13:29 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 16 Oct 2013 19:24:39 +0000 (12:24 -0700)
commitb54fc46dce0c45ce42a012f733ab2abf4b9be5fe
treeae76b71257d06b258f63187356e2e178b6a94984
parent9124b121e317f3ee3b442b0a3a508c9c13f602e2
xhci: add variable 'cmd_type' in handle_cmd_completion()

This patch adds a new variable 'cmd_type' to hold the command type so that
switch cases can be simplified by removing TRB_TYPE() macro improving
code readability.

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