[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200224.112143.2283025986833354811.davem@davemloft.net>
Date: Mon, 24 Feb 2020 11:21:43 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com,
tanhuazhong@...wei.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][V2] net: hns3: remove redundant initialization of
pointer 'client'
From: Colin King <colin.king@...onical.com>
Date: Mon, 24 Feb 2020 19:20:22 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
> ---
>
> V2: use reverse christmas tree ordering of local variables
Applied to net-next, thanks Colin.
Powered by blists - more mailing lists