lkml.org 
[lkml]   [2020]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][next] lan743x: remove redundant initialization of variable current_head_index
From
From: Colin King <colin.king@canonical.com>
Date: Wed, 22 Jul 2020 16:12:21 +0100

> From: Colin Ian King <colin.king@canonical.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@canonical.com>

Applied, thank you.

\
 
 \ /
  Last update: 2020-07-23 02:57    [W:0.028 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site