diff options
author | YueHaibing <[email protected]> | 2019-09-03 20:06:15 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-09-03 15:46:45 +0200 |
commit | b3d72616b428e28200615dcc7fc5fde04f777d07 (patch) | |
tree | b6bb75834df3a7d0e4a88f1f70d30c739303f769 /scripts/gdb/linux/modules.py | |
parent | 8ceb1417f3ca3fdc3f093113dcf416b7fa9690eb (diff) |
usb: cdns3: Fix Wunused-but-set-variable warning
drivers/usb/cdns3/ep0.c: In function cdns3_ep0_feature_handle_device:
drivers/usb/cdns3/ep0.c:290:6: warning: variable wIndex set but not used [-Wunused-but-set-variable]
drivers/usb/cdns3/ep0.c:289:6: warning: variable wValue set but not used [-Wunused-but-set-variable]
wIndex is never used, so remove it.
wValue should be use in the switch statement.
Reported-by: Hulk Robot <[email protected]>
Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions