diff options
| author | Lee Jones <[email protected]> | 2020-07-06 14:33:27 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-09 17:19:58 +0200 |
| commit | 522514e599e3ceb9a34bcdd919db58e243a50cb2 (patch) | |
| tree | 247cc830df9b9f5d1ed93e1b35c414a9ae70d4c5 /include/linux | |
| parent | 1a896833953781d613be7fbb0915840b0d2af216 (diff) | |
usb: host: fotg210-hcd: Remove unused variable 'hcc_params'
The result is actually read into fotg210->caps->hcc_params. No
need to popuate an unused varible with the unchecked return value
from fotg210_readl().
Fixes the following W=1 kernel build warning(s):
drivers/usb/host/fotg210-hcd.c: In function ‘fotg210_run’:
drivers/usb/host/fotg210-hcd.c:5013:6: warning: variable ‘hcc_params’ set but not used [-Wunused-but-set-variable]
5013 | u32 hcc_params;
| ^~~~~~~~~~
Cc: Yuan-Hsin Chen <[email protected]>
Cc: Feng-Hsin Chiang <[email protected]>
Cc: Po-Yu Chuang <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions