Re: [PATCH] lan743x: remove redundant assignment to variable rx_process_result

From: David Miller
Date: Fri Sep 06 2019 - 10:47:57 EST

From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 5 Sep 2019 15:01:35 +0100

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

Applied to net-next, thanks.