]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: Remove DMA ifdef for musb_gadget.c short_packet
authorTony Lindgren <tony@atomide.com>
Fri, 1 May 2015 19:29:30 +0000 (12:29 -0700)
committerFelipe Balbi <balbi@ti.com>
Thu, 7 May 2015 18:36:02 +0000 (13:36 -0500)
commitcec58c4fab3abe15869585d04f9e6438fbf03d37
tree4da7cc5fc221d3ef7824909bac71aac12764ba43
parent709bef9da3cf92563ac0e3aed26a5a866502b9fd
usb: musb: Remove DMA ifdef for musb_gadget.c short_packet

Let's get rid of the horrible ifdef in middle of the expression.
We can do it by adding a variable for short_packet and testing
it separately for DMA related code.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c