diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-09-05 17:01:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-06 17:47:07 +0300 |
commit | f9bcfe214b00c37a6a8e21cab030503fdfd29aca (patch) | |
tree | a24416c041b002e4e25174a55c91a1f9c4627391 /net/xdp/xsk.h | |
parent | 5b1ab1ae3d2f81143dc14d49a91adc31d8ef11ec (diff) | |
download | linux-f9bcfe214b00c37a6a8e21cab030503fdfd29aca.tar.xz |
lan743x: remove redundant assignment to variable rx_process_result
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@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xdp/xsk.h')
0 files changed, 0 insertions, 0 deletions