diff mbox series

[08/23] target/stat: remove unsed macro NONE

Message ID 20210228055645.22253-9-chaitanya.kulkarni@wdc.com
State New
Headers show
Series [01/23] target/iblock: remove an extra argument | expand

Commit Message

Chaitanya Kulkarni Feb. 28, 2021, 5:56 a.m. UTC
Remove the unused macro that fixes the following compilation warning:-

drivers/target//target_core_stat.c:34: warning: macro "NONE" is not used [-Wunused-macros]
#define NONE  "None"

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
---
 drivers/target/target_core_stat.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Johannes Thumshirn March 1, 2021, 12:57 p.m. UTC | #1
Looks good,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
diff mbox series

Patch

diff --git a/drivers/target/target_core_stat.c b/drivers/target/target_core_stat.c
index 2d2c7e377722..62d15bcc3d93 100644
--- a/drivers/target/target_core_stat.c
+++ b/drivers/target/target_core_stat.c
@@ -31,8 +31,6 @@ 
 #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
 #endif
 
-#define NONE		"None"
-
 #define SCSI_LU_INDEX			1
 #define LU_COUNT			1