Re: [PATCH][V2] net: hns3: remove redundant initialization of pointer 'client'

From: David Miller
Date: Mon Feb 24 2020 - 14:21:46 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 24 Feb 2020 19:20:22 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The pointer 'client' is being initialized with a value that is never
> read, it is being updated later on. The initialization is redundant
> and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
>
> V2: use reverse christmas tree ordering of local variables

Applied to net-next, thanks Colin.