aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-07-03 18:41:37 +0100
committerGreg Kroah-Hartman <[email protected]>2020-07-09 16:46:59 +0200
commit7565fce17d19d9f0ab9062cb30653608d5d0cfad (patch)
tree92406ba3f2d6432652c58c7255919d667be24928 /scripts/stackusage
parent142c8bb6c516a4caed569a68589489d4d91377e6 (diff)
usb: storage: alauda: Remove set but unchecked variable
The return value of alauda_get_media_status() hasn't been checked since the driver's inception back in 2005. If nothing have gone wrong/been detected until this point, it's probably safe to just remove the variable. Fixes the following W=1 kernel build warning(s): drivers/usb/storage/alauda.c: In function ‘alauda_check_media’: drivers/usb/storage/alauda.c:456:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 456 | int rc; | ^~ Cc: Alan Stern <[email protected]> Cc: Daniel Drake <[email protected]> Cc: [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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions