]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usb: musb: don't declare varibles twice
authorFelipe Balbi <felipe.balbi@nokia.com>
Wed, 19 Nov 2008 11:19:07 +0000 (13:19 +0200)
committerFelipe Balbi <felipe.balbi@nokia.com>
Mon, 24 Nov 2008 15:00:02 +0000 (17:00 +0200)
commit414ed1662e9a19a4e11e10ceb1937acc4fe3fc61
tree741285e663f7a16ea6698bd0cb42aa11e7cbfd71
parent4368bafd7434e19ba433b85813ff037bbcdefef9
usb: musb: don't declare varibles twice

Making the variables accesible inside the entire function avoids
having to declare them several times, or for each dma engine. Also
provides a better code readability as we use the same variable name
in the entire function.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
drivers/usb/musb/musb_gadget.c