[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200722.175549.1334326051003988959.davem@davemloft.net>
Date: Wed, 22 Jul 2020 17:55:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: bryan.whitehead@...rochip.com, UNGLinuxDriver@...rochip.com,
kuba@...nel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] lan743x: remove redundant initialization of
variable current_head_index
From: Colin King <colin.king@...onical.com>
Date: Wed, 22 Jul 2020 16:12:21 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable current_head_index is being initialized with a value that
> is never read and it is being updated later with a new value. Replace
> the initialization of -1 with the latter assignment.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thank you.
Powered by blists - more mailing lists