Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: target: iscsi: Remove unused macro ISCSI_INST_LAST_FAILURE_TYPE

Remove unused macro to fix the following compilation warning:

drivers/target//iscsi/iscsi_target_stat.c:31: warning: macro "ISCSI_INST_LAST_FAILURE_TYPE" is not used [-Wunused-macros]
#define ISCSI_INST_LAST_FAILURE_TYPE 0

Link: https://lore.kernel.org/r/20210228055645.22253-10-chaitanya.kulkarni@wdc.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Chaitanya Kulkarni and committed by
Martin K. Petersen
fdc1339a c3a27351

-1
-1
drivers/target/iscsi/iscsi_target_stat.c
··· 28 28 /* Instance Attributes Table */ 29 29 #define ISCSI_INST_NUM_NODES 1 30 30 #define ISCSI_INST_DESCR "Storage Engine Target" 31 - #define ISCSI_INST_LAST_FAILURE_TYPE 0 32 31 #define ISCSI_DISCONTINUITY_TIME 0 33 32 34 33 #define ISCSI_NODE_INDEX 1