| 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 <hulkci@huawei.com>
Fixes:  | ||
|---|---|---|
| .. | ||
| cdns3-pci-wrap.c | ||
| core.c | ||
| core.h | ||
| debug.h | ||
| drd.c | ||
| drd.h | ||
| ep0.c | ||
| gadget-export.h | ||
| gadget.c | ||
| gadget.h | ||
| host-export.h | ||
| host.c | ||
| Kconfig | ||
| Makefile | ||
| trace.c | ||
| trace.h | ||