]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
scsi: target: iscsi: Remove unused macro ISCSI_INST_LAST_FAILURE_TYPE
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Sun, 28 Feb 2021 05:56:31 +0000 (21:56 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 10 Mar 2021 04:47:18 +0000 (23:47 -0500)
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>
drivers/target/iscsi/iscsi_target_stat.c

index 35e75a3569c9def89c6ffad3802b2c3d2e113662..cce3a827059e5d00edb7a48b8d9d1fe3734d1aa9 100644 (file)
@@ -28,7 +28,6 @@
 /* Instance Attributes Table */
 #define ISCSI_INST_NUM_NODES           1
 #define ISCSI_INST_DESCR               "Storage Engine Target"
-#define ISCSI_INST_LAST_FAILURE_TYPE   0
 #define ISCSI_DISCONTINUITY_TIME       0
 
 #define ISCSI_NODE_INDEX               1