Thread (55 messages) 55 messages, 5 authors, 2021-03-16
STALE1931d LANDED

[PATCH 06/23] target/pscsi: remove unsed macro ISPRINT

From: Chaitanya Kulkarni <hidden>
Date: 2021-02-28 05:59:14
Also in: target-devel

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

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

Signed-off-by: Chaitanya Kulkarni <redacted>
---
 drivers/target/target_core_pscsi.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c
index 689e503e3301..7b1035e08419 100644
--- a/drivers/target/target_core_pscsi.c
+++ b/drivers/target/target_core_pscsi.c
@@ -34,8 +34,6 @@
 #include "target_core_internal.h"
 #include "target_core_pscsi.h"
 
-#define ISPRINT(a)  ((a >= ' ') && (a <= '~'))
-
 static inline struct pscsi_dev_virt *PSCSI_DEV(struct se_device *dev)
 {
 	return container_of(dev, struct pscsi_dev_virt, dev);
-- 
2.22.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help