[PATCH][next] nvmet: remove redundant assignments of variable status

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Tue Jul 6 11:26:21 PDT 2021


On 7/6/21 07:56, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> 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 at canonical.com>

For now looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>




More information about the Linux-nvme mailing list