usb: musb: host: remove duplicate check in musb_ep_program()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 7 May 2011 15:44:13 +0000 (19:44 +0400)
committerFelipe Balbi <balbi@ti.com>
Fri, 13 May 2011 11:34:07 +0000 (14:34 +0300)
commitc51e36dc11e44aa960744ec1c36fb2ab8d68b218
treeee8aa49d128d99e31e21fc3124efad5219276b9b
parent981430a1704123b569865997bdde4f1de1afca7e
usb: musb: host: remove duplicate check in musb_ep_program()

musb_ep_program() contains obviously duplicate check for 'dma_channel' in its
IN/receive path -- removing it allows to save one level of indentation. While
at it, improve the comment style...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c