Removed Unreachable code: net/net.c: net_handle_arp()
PATCH 1/1 Removed Unreachable code: net/net.c: net_handle_arp()
Signed-off-by Neeraj Pal <[email protected]>
--- net/net.c | 2 -- 1 file changed, 2 deletions(-)
net/net.c +0 -2
@@ -577,8 +577,6 @@ static int net_handle_arp(struct eth_device *edev, unsigned char *pkt, int len)return -EINVAL ; } -return 0 ; - bad:net_bad_packet (pkt, len);return -EINVAL ;
Signature · 7 lines
2.25.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 4 lines · Neeraj Pal
Signed-off-by Neeraj Pal <[email protected]>--- net/net.c | 2 -- 1 file changed, 2 deletions(-)
Applied, thanks
Sascha
Quoted 23 lines
net/net.c +0
-2@@ -577,8 +577,6 @@ static int net_handle_arp(struct eth_device *edev, unsigned char *pkt, int len)return -EINVAL ; } -return 0 ; - bad:net_bad_packet (pkt, len);return -EINVAL ;Signature · 7 lines
2.25.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox