lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20170914.100041.1507992015904111255.davem@davemloft.net> Date: Thu, 14 Sep 2017 10:00:41 -0700 (PDT) From: David Miller <davem@...emloft.net> To: colin.king@...onical.com Cc: siva.kallam@...adcom.com, prashant@...adcom.com, mchan@...adcom.com, netdev@...r.kernel.org, kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] tg3: clean up redundant initialization of tnapi From: Colin King <colin.king@...onical.com> Date: Thu, 14 Sep 2017 17:01:25 +0100 > From: Colin Ian King <colin.king@...onical.com> > > tnapi is being initialized and then immediately updated and > hence the initialiation is redundant. Clean up the warning > by moving the declaration and initialization to the inside > of the for-loop. > > Cleans up clang scan-build warning: > warning: Value stored to 'tnapi' during its initialization is never read > > Signed-off-by: Colin Ian King <colin.king@...onical.com> Applied.
Powered by blists - more mailing lists