[PATCH] nvme: remove the unused NVME_NS_* enum

Christoph Hellwig hch at lst.de
Mon Aug 16 05:46:04 PDT 2021


These values are unused now that the lightnvm support is gone.

Signed-off-by: Christoph Hellwig <hch at lst.de>
---
 drivers/nvme/host/nvme.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index 57d2ac00a6bd..086dc4199630 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -47,11 +47,6 @@ extern struct workqueue_struct *nvme_wq;
 extern struct workqueue_struct *nvme_reset_wq;
 extern struct workqueue_struct *nvme_delete_wq;
 
-enum {
-	NVME_NS_LBA		= 0,
-	NVME_NS_LIGHTNVM	= 1,
-};
-
 /*
  * List of workarounds for devices that required behavior not specified in
  * the standard.
-- 
2.30.2




More information about the Linux-nvme mailing list