diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2016-05-31 14:17:22 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-21 11:04:25 +0300 |
commit | d58fcf81bb8facc0cd22490c43698f272c1ee07b (patch) | |
tree | abe1961ac3ca40dc85cd57b4fe7f7761d1cb57ce /net/xfrm | |
parent | 872ce5119524f33fafacc4d9610a431185ea66a2 (diff) | |
download | linux-d58fcf81bb8facc0cd22490c43698f272c1ee07b.tar.bz2 |
usb: gadget: m66592: fix unused-but-set-variable warnings
This patch fixes the following (W=1) warnings:
drivers/usb/gadget/udc/m66592-udc.c: In function ‘m66592_irq’:
drivers/usb/gadget/udc/m66592-udc.c:1203:15: warning: variable ‘nrdyenb’ set but not used [-Wunused-but-set-variable]
u16 brdyenb, nrdyenb, bempenb;
^
drivers/usb/gadget/udc/m66592-udc.c:1202:15: warning: variable ‘nrdysts’ set but not used [-Wunused-but-set-variable]
u16 brdysts, nrdysts, bempsts;
^
In doing so, it removes calls to m66592_read function which does I/O
with the device, but I hope the reads don’t have any side effects that
are needed.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions