# \[PATCH 07/23\] target/stat: remove unsed macro ISPRINT

- From: Chaitanya Kulkarni \<hidden\>
- Date: 2021-02-28 05:59:51 
- List: linux-scsi
- Page: https://ratatoskr.run/linux-scsi/2021/02/6743384
- Thread: https://ratatoskr.run/linux-scsi/2021/02/6743374/t.md

```text
Remove the unused macro that fixes the following compilation warning:-

drivers/target//iscsi/iscsi_target_stat.c:36: warning: macro "ISPRINT" is not used [-Wunused-macros]
#define ISPRINT(a) Â  ((a >= ' ') && (a <= '~'))

Signed-off-by: Chaitanya Kulkarni <redacted>
---
 drivers/target/target_core_stat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/target/target_core_stat.c b/drivers/target/target_core_stat.c
index 237309db4b33..2d2c7e377722 100644
--- a/drivers/target/target_core_stat.c
+++ b/drivers/target/target_core_stat.c
@@ -32,7 +32,6 @@
 #endif
 
 #define NONE		"None"
-#define ISPRINT(a)   ((a >= ' ') && (a <= '~'))
 
 #define SCSI_LU_INDEX			1
 #define LU_COUNT			1
-- 
2.22.1

```
