xhci: refactor TRB_EVAL_CONTEXT case into function
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 9 Sep 2013 10:29:53 +0000 (13:29 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 16 Oct 2013 19:24:31 +0000 (12:24 -0700)
commit07948a8da6241984b8359830498855573d552d0d
treee77ee2a9b62680069b1593ee44f51e2e8e972308
parent2c070821e2b2ce2e75861b2b56062df1757b9183
xhci: refactor TRB_EVAL_CONTEXT case into function

The function that handles xHCI command completion is much too long and
there is need to be broken up into individual functions for each command
completion to improve code readablity.
This patch refactors the code in TRB_EVAL_CONTEXT switch case in
handle_cmd_completion() into a fuction named xhci_handle_cmd_eval_ctx().

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