xhci: Clean up work to xhci_add_endpoint().
authorLin Wang <lin.x.wang@intel.com>
Fri, 9 Jan 2015 14:06:27 +0000 (16:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 18:05:46 +0000 (10:05 -0800)
commit92c9691bf38007853345f719543908d1383e3e46
tree6a7b776628397bced117bdd6e7befc36b7567094
parentb7392d2247cfe6771f95d256374f1a8e6a6f48d6
xhci: Clean up work to xhci_add_endpoint().

This patch removes unused variable "out_ctx" and avoid multiple calls
to function xhci_get_endpoint_flag().

Signed-off-by: Lin Wang <lin.x.wang@intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c