Commit c80b36cd authored by Edmund Nadolski's avatar Edmund Nadolski Committed by Keith Busch

nvme: else following return is not needed

Remove unnecessary keyword in nvme_create_queue().
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarEdmund Nadolski <edmund.nadolski@intel.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent a8157ff3
......@@ -1549,7 +1549,7 @@ static int nvme_create_queue(struct nvme_queue *nvmeq, int qid, bool polled)
result = adapter_alloc_sq(dev, qid, nvmeq);
if (result < 0)
return result;
else if (result)
if (result)
goto release_cq;
nvmeq->cq_vector = vector;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment