nvmet: remove redundant assignments of variable status
authorColin Ian King <colin.king@canonical.com>
Tue, 6 Jul 2021 14:56:50 +0000 (15:56 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Aug 2021 12:42:23 +0000 (14:42 +0200)
commitad0e9a80ba0f20db0f86e23d1ad2979513a9a8ee
tree3162d83acaf89caf263954c37e3b83acebfc1004
parent8d84f9de69ca23f2637dc19d96f39228c8426e97
nvmet: remove redundant assignments of variable status

There are two occurrances where variable status is being assigned a
value that is never read and it is being re-assigned a new value
almost immediately afterwards on an error exit path. The assignments
are redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/zns.c