Re: [RFC v3 13/18] xhci: add variable 'cmd_type' in handle_cmd_completion()

2013-08-30 Thread Sarah Sharp
On Fri, Aug 23, 2013 at 11:15:13AM +0300, Xenia Ragiadakou wrote: 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. Looks good. You might want to mention this improves readability. Sarah Sharp

[RFC v3 13/18] xhci: add variable 'cmd_type' in handle_cmd_completion()

2013-08-23 Thread Xenia Ragiadakou
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. Signed-off-by: Xenia Ragiadakou burzalod...@gmail.com --- drivers/usb/host/xhci-ring.c | 27 ++- 1 file changed, 14 insertions(+), 13