[PATCH] Removed Unreachable code: net/net.c: net_handle_arp()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Neeraj Pal <neerajpal09@xxxxxxxxx>
---
 net/net.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/net.c b/net/net.c
index 4dffc1bd5..fdb9ab826 100644
--- a/net/net.c
+++ b/net/net.c
@@ -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;
-- 
2.25.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux