Thread (7 messages) 7 messages, 2 authors, 2021-05-18
STALE1895d

[PATCH 4/4] nvme-core: remove the NVME_NIDT_XXX_LEN macros

From: Chaitanya Kulkarni <hidden>
Date: 2021-05-18 05:07:01
Subsystem: nvm express driver, the rest · Maintainers: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg, Linus Torvalds

Now that we have removed all the open coding of the NVME_NIDT_XXX_LEN
macros, remove the macros.

Signed-off-by: Chaitanya Kulkarni <redacted>
---
 include/linux/nvme.h | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 5d6b0fe64db1..61a0de4bb71e 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -486,11 +486,6 @@ struct nvme_ns_id_desc {
 	__le16 reserved;
 };
 
-#define NVME_NIDT_EUI64_LEN	8
-#define NVME_NIDT_NGUID_LEN	16
-#define NVME_NIDT_UUID_LEN	16
-#define NVME_NIDT_CSI_LEN	1
-
 enum {
 	NVME_NIDT_EUI64		= 0x01,
 	NVME_NIDT_NGUID		= 0x02,
-- 
2.22.1


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help