Re: [f2fs-dev] [PATCH] f2fs: remove redundant assignment to variable err

From: Chao Yu
Date: Tue Apr 21 2020 - 07:36:01 EST


On 2020/4/21 6:00, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable err is being assigned with a value that is never read
> and it is being updated later with a new value. The initialization is
> redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>

Thanks,