All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvme: delete an unnecessary declaration
@ 2020-05-15 12:06 ` Dan Carpenter
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Carpenter @ 2020-05-15 12:06 UTC (permalink / raw)
  To: Keith Busch
  Cc: Jens Axboe, kernel-janitors, Christoph Hellwig, linux-nvme,
	Sagi Grimberg

The nvme_put_ctrl() is implemented earlier as an inline function so
this declaration isn't required.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/nvme/host/nvme.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index f3ab17778349..86f152e777bc 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -497,7 +497,6 @@ int nvme_init_ctrl(struct nvme_ctrl *ctrl, struct device *dev,
 void nvme_uninit_ctrl(struct nvme_ctrl *ctrl);
 void nvme_start_ctrl(struct nvme_ctrl *ctrl);
 void nvme_stop_ctrl(struct nvme_ctrl *ctrl);
-void nvme_put_ctrl(struct nvme_ctrl *ctrl);
 int nvme_init_identify(struct nvme_ctrl *ctrl);
 
 void nvme_remove_namespaces(struct nvme_ctrl *ctrl);
-- 
2.26.2

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

end of thread, other threads:[~2020-05-20 17:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-15 12:06 [PATCH] nvme: delete an unnecessary declaration Dan Carpenter
2020-05-15 12:06 ` Dan Carpenter
2020-05-16  4:30 ` Chaitanya Kulkarni
2020-05-16  4:30   ` Chaitanya Kulkarni
2020-05-16  6:22 ` Sagi Grimberg
2020-05-16  6:22   ` Sagi Grimberg
2020-05-20 17:12 ` Christoph Hellwig
2020-05-20 17:12   ` Christoph Hellwig

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.