nvmet: remove cntlid_min and cntlid_max check in nvmet_alloc_ctrl
authorGuixin Liu <kanie@linux.alibaba.com>
Wed, 13 Dec 2023 06:32:50 +0000 (14:32 +0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 13 Dec 2023 22:53:33 +0000 (14:53 -0800)
commit4ba8b3f7d368279d3d3bde788394c7f6b3e0c061
tree0dbaebe078e2061cf8d4c6a724c4c2d70c1e3149
parent906dbc47b1d540961a2ffddc7a095196d1a39b93
nvmet: remove cntlid_min and cntlid_max check in nvmet_alloc_ctrl

The cntlid_min and cntlid_max are checked in configfs, don't check
again in nvmet_alloc_ctrl().

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/core.c