diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2016-05-31 15:17:23 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-21 11:04:32 +0300 |
commit | 906ae52db2695f8b34b292cc7d74d126f4a4612d (patch) | |
tree | 1153f20c2e579ca01eccf520821459e883bc9dbe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d58fcf81bb8facc0cd22490c43698f272c1ee07b (diff) | |
download | linux-906ae52db2695f8b34b292cc7d74d126f4a4612d.tar.xz |
usb: gadget: r8a66597: fix unused-but-set-variable warnings
This patch fixes the following (W=1) warnings:
drivers/usb/gadget/udc/r8a66597-udc.c: In function ‘r8a66597_irq’:
drivers/usb/gadget/udc/r8a66597-udc.c:1468:15: warning: variable ‘nrdyenb’ set but not used [-Wunused-but-set-variable]
u16 brdyenb, nrdyenb, bempenb;
^
drivers/usb/gadget/udc/r8a66597-udc.c:1467:15: warning: variable ‘nrdysts’ set but not used [-Wunused-but-set-variable]
u16 brdysts, nrdysts, bempsts;
^
In doing so, it removes calls to r8a66597_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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions