aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-07-01 09:58:49 +0100
committerGreg Kroah-Hartman <[email protected]>2020-07-01 15:05:38 +0200
commitf33e92e50c82319718a21ec372f3df9eff59bfa9 (patch)
tree1abddf58aefe73a69189b6ef0488b265896dd31c /tools/perf/scripts/python
parent6a57251c70a4ab48ed5efa8a55f43d0f6b47d508 (diff)
misc: genwqe: card_base: Remove set but unused variable 'rc'
Variable 'rc' hasn't been checked since the driver's inception in 2013. If it hasn't caused any issues since then, it's unlikely to in the future. Let's take it out for now. Fixes the following W=1 kernel build warning(s): drivers/misc/genwqe/card_base.c: In function ‘genwqe_health_check_stop’: /home/lee/projects/linux/kernel/drivers/misc/genwqe/card_base.c:1046:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 1046 | int rc; | ^~ Cc: Michael Jung <[email protected]> Cc: Michael Ruettger <[email protected]> Cc: Frank Haverkamp <[email protected]> Cc: Joerg-Stephan Vogt <[email protected]> Signed-off-by: Lee Jones <[email protected]> Reviewed-by: Frank Haverkamp <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions