usb: pxa27x_udc: remove unused function argument
authorArnd Bergmann <arnd@arndb.de>
Thu, 16 Jun 2016 11:38:25 +0000 (13:38 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 21 Jun 2016 07:46:33 +0000 (10:46 +0300)
commitb89e5f1a677f3a711047d686115f2416e1200a3b
tree0f216c52c434e05d7ffe6922214caf8c3d6d8174
parentda1410be21bfedd16740aee6d772e669cf4e852f
usb: pxa27x_udc: remove unused function argument

We get a warning for this when building with W=1 because the
argument gets assigned to something else but never read:

drivers/usb/gadget/udc/pxa27x_udc.c: In function 'stop_activity':
drivers/usb/gadget/udc/pxa27x_udc.c:1828:74: error: parameter 'driver' set but not used [-Werror=unused-but-set-parameter]

This remove the argument entirely.

Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/pxa27x_udc.c