summaryrefslogtreecommitdiffstats
path: root/net/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/net.c b/net/net.c
index 4dffc1bd52..fdb9ab826c 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;