nvme: remove redundant initialization of variable ret
authorColin Ian King <colin.king@canonical.com>
Thu, 13 May 2021 11:59:52 +0000 (12:59 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 Jun 2021 07:29:24 +0000 (10:29 +0300)
commit13ce7e625a3383004181217985a70d16c3cbe8be
treed20cd46857f040e76f0f86da78c03e6470aebd66
parent8184035805dc87dd826101b930d3dce97758f7b1
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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c