Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f81e5ca9 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

net: ethernet: aquantia: remove another redundant err check



The check on err < 0 is redundant and can be removed. Detected
by CoverityScan, CID#1398318 ("Logically Dead Code")

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e52cfb63
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -304,8 +304,6 @@ int aq_ring_rx_fill(struct aq_ring_s *self)

		buff = NULL;
	}
	if (err < 0)
		goto err_exit;

err_exit:
	if (err < 0) {