diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-06 14:33:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-09 17:19:58 +0200 |
commit | beb368a4b9cbe67894354b884fa34e8e2e701a92 (patch) | |
tree | d3454c719e1bfdc98b00cab848049eec79ed0dfd /mm | |
parent | e6b073dea39bd8bfb02e05f46f27d94dc006e91c (diff) | |
download | linux-beb368a4b9cbe67894354b884fa34e8e2e701a92.tar.bz2 |
usb: early: ehci-dbgp: Remove set but never checked variable 'ret'
'ret' hasn't been checked since the driver's inception in 2009.
Fixes the following W=1 kernel build warning(s):
drivers/usb/early/ehci-dbgp.c: In function ‘early_dbgp_write’:
drivers/usb/early/ehci-dbgp.c:915:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
915 | int chunk, ret;
| ^~~
Cc: Sumit Garg <sumit.garg@linaro.org>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Link: https://lore.kernel.org/r/20200706133341.476881-26-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions