diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-09-03 14:04:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-03 15:46:46 +0200 |
commit | f271b966bff19363b621204c035dce028c534cdd (patch) | |
tree | 83136493e56b74ac4a90f57cfbb1c09238e4f3f6 /drivers/usb/Kconfig | |
parent | usb: cdns3: Fix Wunused-but-set-variable warning (diff) | |
download | linux-f271b966bff19363b621204c035dce028c534cdd.tar.xz linux-f271b966bff19363b621204c035dce028c534cdd.zip |
usb: cdns3: remove set but not used variable 'priv_dev'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/usb/cdns3/gadget.c: In function '__cdns3_gadget_init':
drivers/usb/cdns3/gadget.c:2665:23: warning:
variable 'priv_dev' set but not used [-Wunused-but-set-variable]
drivers/usb/cdns3/gadget.c: In function cdns3_start_all_request:
drivers/usb/cdns3/gadget.c:357:24: warning:
variable priv_req set but not used [-Wunused-but-set-variable]
They are never used, so can be removed.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190903120445.22204-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions