Re: [RFC v3 10/18] xhci: refactor TRB_CONFIG_EP case into function

2013-08-30 Thread Sarah Sharp
On Fri, Aug 23, 2013 at 11:15:10AM +0300, Xenia Ragiadakou wrote: > This patch refactors the code in TRB_CONFIG_EP switch case, in > handle_cmd_completion(), into a fuction named xhci_handle_cmd_config_ep(). > > There were added two additional variables, 'add_flags' and 'drop_flags', > to reduce l

[RFC v3 10/18] xhci: refactor TRB_CONFIG_EP case into function

2013-08-23 Thread Xenia Ragiadakou
This patch refactors the code in TRB_CONFIG_EP switch case, in handle_cmd_completion(), into a fuction named xhci_handle_cmd_config_ep(). There were added two additional variables, 'add_flags' and 'drop_flags', to reduce line length below 80 chars and improve code readability. Signed-off-by: Xeni