usb: host: r8a66597-hcd: Remove set, then over-written, but never used variable ...
commit33a4eeb1a67390dd2d485ec4918e87e931bf993f
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Jul 2020 13:33:22 +0000 (6 14:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jul 2020 15:19:57 +0000 (9 17:19 +0200)
tree3c6dc8ae119bf141734f27c6407d79b8e0698777
parent120d91dae6c9121c82786c163bd414daae1db838
usb: host: r8a66597-hcd: Remove set, then over-written, but never used variable 'tmp'

Looks like it's been this way since the driver's inception in 2007.

Fixes the following W=1 kernel build warning(s):

 drivers/usb/host/r8a66597-hcd.c: In function ‘clear_all_buffer’:
 drivers/usb/host/r8a66597-hcd.c:478:6: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
 478 | u16 tmp;
 | ^~~

Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200706133341.476881-14-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/r8a66597-hcd.c