]> asedeno.scripts.mit.edu Git - linux.git/commit
xhci: refactor xhci_urb_enqueue
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 23 Jan 2017 12:20:27 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 10:00:02 +0000 (11:00 +0100)
commit6969408de2681e1f9dfaed0b311d067ce3c75474
tree078fc43e04e12b2e2045220c848debe586e5e978
parent7e64b0373af50fa46d3bf441f1c079615bbdf77f
xhci: refactor xhci_urb_enqueue

Use switch instead of several if statements

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