]> git.baikalelectronics.ru Git - kernel.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)
commitb9b32d68de981fd2c4cdc81999ae5665e3aba77a
tree078fc43e04e12b2e2045220c848debe586e5e978
parent5ee7dc57b82f70f6a875c24c5c31320bfdd794f8
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