All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvme: remove the unused  NVME_NS_* enum
@ 2021-08-16 12:46 Christoph Hellwig
  2021-08-16 21:03 ` Keith Busch
  2021-08-23 17:31 ` Sagi Grimberg
  0 siblings, 2 replies; 3+ messages in thread
From: Christoph Hellwig @ 2021-08-16 12:46 UTC (permalink / raw)
  To: linux-nvme

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

Signed-off-by: Christoph Hellwig <hch@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


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] nvme: remove the unused  NVME_NS_* enum
  2021-08-16 12:46 [PATCH] nvme: remove the unused NVME_NS_* enum Christoph Hellwig
@ 2021-08-16 21:03 ` Keith Busch
  2021-08-23 17:31 ` Sagi Grimberg
  1 sibling, 0 replies; 3+ messages in thread
From: Keith Busch @ 2021-08-16 21:03 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-nvme

On Mon, Aug 16, 2021 at 02:46:04PM +0200, Christoph Hellwig wrote:
> These values are unused now that the lightnvm support is gone.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks good.

Reviewed-by: Keith Busch <kbusch@kernel.org>

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nvme: remove the unused NVME_NS_* enum
  2021-08-16 12:46 [PATCH] nvme: remove the unused NVME_NS_* enum Christoph Hellwig
  2021-08-16 21:03 ` Keith Busch
@ 2021-08-23 17:31 ` Sagi Grimberg
  1 sibling, 0 replies; 3+ messages in thread
From: Sagi Grimberg @ 2021-08-23 17:31 UTC (permalink / raw)
  To: Christoph Hellwig, linux-nvme

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-23 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 12:46 [PATCH] nvme: remove the unused NVME_NS_* enum Christoph Hellwig
2021-08-16 21:03 ` Keith Busch
2021-08-23 17:31 ` Sagi Grimberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.