Re: [PATCH][next] loop: remove redundant assignment to variable error

From: Jens Axboe
Date: Sun May 24 2020 - 12:44:22 EST


On 5/24/20 10:10 AM, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable error is being assigned a value that is never
> read so the assignment is redundant and can be removed.

Plus, by definition, we already know that error is zero at the
time of assignment.

--
Jens Axboe