Commit 13ce7e62 authored by Colin Ian King's avatar Colin Ian King Committed by Christoph Hellwig
Browse files

nvme: remove redundant initialization of variable ret



The variable ret is being initialized with a value that is never read,
it is being updated later on. The assignment is redundant and can be
removed.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 81840358
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1088,7 +1088,7 @@ static void nvme_rdma_reconnect_or_remove(struct nvme_rdma_ctrl *ctrl)

static int nvme_rdma_setup_ctrl(struct nvme_rdma_ctrl *ctrl, bool new)
{
	int ret = -EINVAL;
	int ret;
	bool changed;

	ret = nvme_rdma_configure_admin_queue(ctrl, new);