]> 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)
commit28bbfb18c650de60d8ab7e43b9332f2cf5beec4f
treed20cd46857f040e76f0f86da78c03e6470aebd66
parentb9cb84724291f862e5a3bdffbe5b3e9bccc6143a
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