]> git.karo-electronics.de Git - linux-beck.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)
commitfb91cddc54e71a09b31e0fdf2d45abeaea850113
tree4da7cc5fc221d3ef7824909bac71aac12764ba43
parent729697a13d7e32b18315df474fbf42498b447a8a
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