Skip to content
Commit 285b6e9b authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvme: merge nvme_shutdown_ctrl into nvme_disable_ctrl



Many of the callers decide which one to use based on a bool argument and
there is at least some code to be shared, so merge these two.  Also
move a comment specific to a single callsite to that callsite.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarHector Martin <marcan@marcan.st>
parent e6d275de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment