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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 23 Oct 2022 09:52:28 +0300
From:   Mika Westerberg <mika.westerberg@...ux.intel.com>
To:     Colin Ian King <colin.i.king@...il.com>
Cc:     Andreas Noever <andreas.noever@...il.com>,
        Michael Jamet <michael.jamet@...el.com>,
        Yehezkel Bernat <YehezkelShB@...il.com>,
        linux-usb@...r.kernel.org, kernel-janitors@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] thunderbolt: remove redundant assignment to variable len

On Wed, Oct 19, 2022 at 11:57:09PM +0100, Colin Ian King wrote:
> The variable len is assigned a value that is never read. It is re-assigned
> a new value in the following do-while loop and never referenced after
> the loop. The assignment is redundant and can be removed.
> 
> Cleans up clang scan build warning:
> drivers/thunderbolt/xdomain.c:344:2: warning: Value stored to 'len' is
> never read [deadcode.DeadStores]
> 
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>

Applied to thunderbolt.git/next, thanks!

Powered by blists - more mailing lists