]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb76adf0055ee02c7343a63339bec28097adee92e
treed20cd46857f040e76f0f86da78c03e6470aebd66
parenta7bb3cb103f919f2b98e9fbbc529e416ed7a3761
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