From 6ed46d3337b1f4a8f9fa7438589cab5f1bb75e98 Mon Sep 17 00:00:00 2001 From: Xenia Ragiadakou Date: Mon, 9 Sep 2013 13:29:55 +0300 Subject: [PATCH] xhci: refactor TRB_CONFIG_EP 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_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: Xenia Ragiadakou Signed-off-by: Sarah Sharp --- Reading git-format-patch failed