Re: [Linux-cifsd-devel] [PATCH][next] cifsd: remove redundant assignment to variable err
From: Namjae Jeon
Date: Sat Mar 27 2021 - 01:43:15 EST
2021-03-26 2:35 GMT+09:00, Colin King <colin.king@xxxxxxxxxxxxx>:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable err is being initialized 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>
I will apply. Thanks for your patch!