linux_dsm_epyc7002/drivers/misc/genwqe
Lee Jones f33e92e50c 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 <mijung@gmx.net>
Cc: Michael Ruettger <michael@ibmra.de>
Cc: Frank Haverkamp <haver@linux.ibm.com>
Cc: Joerg-Stephan Vogt <jsvogt@de.ibm.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Frank Haverkamp <haver@linux.ibm.com>
Link: https://lore.kernel.org/r/20200701085853.164358-17-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-01 15:05:38 +02:00
..
card_base.c misc: genwqe: card_base: Remove set but unused variable 'rc' 2020-07-01 15:05:38 +02:00
card_base.h Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
card_ddcb.c misc: genwqe: fix compile warnings 2020-01-14 15:06:06 +01:00
card_ddcb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
card_debugfs.c Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
card_dev.c compat_ioctl: use correct compat_ptr() translation in drivers 2019-10-23 17:23:44 +02:00
card_sysfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 289 2019-06-05 17:36:38 +02:00
card_utils.c mm: introduce include/linux/pgtable.h 2020-06-09 09:39:13 -07:00
genwqe_driver.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 289 2019-06-05 17:36:38 +02:00
Kconfig Merge 5.2-rc4 into char-misc-next 2019-06-09 09:11:21 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00