usb: gadged: pch_udc: get rid of redundant assignments
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Mar 2016 14:55:37 +0000 (16:55 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Apr 2016 12:23:37 +0000 (15:23 +0300)
commit6b968737c3efe7cdaa5407afec972cd7c7d3ca35
tree23e860cf50d742c8a812517377ed450c9967e7dd
parentc7b640d2a21c2dd724cd8aa9f0b78d6a3d61d776
usb: gadged: pch_udc: get rid of redundant assignments

It seems there are leftovers of some assignments which are not used
anymore.  Compiler even warns us about:

drivers/usb/gadget/udc/pch_udc.c:2022:22: warning: variable ‘dev’ set \
but not used [-Wunused-but-set-variable]

drivers/usb/gadget/udc/pch_udc.c:2639:9: warning: variable ‘ret’ set \
but not used [-Wunused-but-set-variable]

Remove them and shut compiler about.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/pch_udc.c
This page took 0.0313 seconds and 5 git commands to generate.