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

Chaitanya Kulkarni chaitanya.kulkarni at wdc.com
Mon May 17 22:05:57 PDT 2021


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

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
---
 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




More information about the Linux-nvme mailing list