[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190906.164752.2021789297971211632.davem@davemloft.net>
Date:   Fri, 06 Sep 2019 16:47:52 +0200 (CEST)
From:   David Miller <davem@...emloft.net>
To:     colin.king@...onical.com
Cc:     bryan.whitehead@...rochip.com, UNGLinuxDriver@...rochip.com,
        netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lan743x: remove redundant assignment to variable
 rx_process_result
From: Colin King <colin.king@...onical.com>
Date: Thu,  5 Sep 2019 15:01:35 +0100
> From: Colin Ian King <colin.king@...onical.com>
> 
> The variable rx_process_result is being initialized with a value that
> is never read and is being re-assigned immediately afterwards. The
> assignment is redundant, so replace it with the return from function
> lan743x_rx_process_packet.
> 
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists