[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a77dd608-1297-1522-7161-197258906ac0@intel.com>
Date: Mon, 18 Oct 2021 09:27:20 -0700
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: luo penghao <cgel.zte@...il.com>
CC: Tony Nguyen <anthony.l.nguyen@...el.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
<intel-wired-lan@...ts.osuosl.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
luo penghao <luo.penghao@....com.cn>,
"Zeal Robot" <zealci@....com.cn>
Subject: Re: [PATCH linux-next] e1000e: Remove redundant statement
On 10/18/2021 1:51 AM, luo penghao wrote:
> This assignment statement is meaningless, because the statement
> will execute to the tag "set_itr_now".
>
> The clang_analyzer complains as follows:
>
> drivers/net/ethernet/intel/e1000e/netdev.c:2552:3 warning:
>
> Value stored to 'current_itr' is never read.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: luo penghao <luo.penghao@....com.cn>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Powered by blists - more mailing lists