]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme: remove the ifdef around nvme_nvm_ioctl
authorChristoph Hellwig <hch@lst.de>
Fri, 17 May 2019 09:47:34 +0000 (02:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2019 06:18:02 +0000 (08:18 +0200)
commit54261634bdf8066ef20bce9dee1403aa42c32ce9
tree1187e00b8946ce905cd095842e1d60150ad3b70a
parenta6515af9b839475e862e4486f8f3d8e859e10983
nvme: remove the ifdef around nvme_nvm_ioctl

[ Upstream commit 3f98bcc58cd5f1e4668db289dcab771874cc0920 ]

We already have a proper stub if lightnvm is not enabled, so don't bother
with the ifdef.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/core.c