From 5c42fd7f914cbe8e2c2a3a7a5f75ff457b0f4845 Mon Sep 17 00:00:00 2001 From: Matthew Daley Date: Fri, 8 Nov 2013 11:10:08 +0100 Subject: [PATCH] mini-os: remove repeated statement in netfront_input Signed-off-by: Matthew Daley Acked-by: Samuel Thibault --- extras/mini-os/lwip-net.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/extras/mini-os/lwip-net.c b/extras/mini-os/lwip-net.c index 9fded114c8..449b70fda7 100644 --- a/extras/mini-os/lwip-net.c +++ b/extras/mini-os/lwip-net.c @@ -194,8 +194,6 @@ netfront_input(struct netif *netif, unsigned char* data, int len) /* points to packet payload, which starts with an Ethernet header */ ethhdr = p->payload; - - ethhdr = p->payload; switch (htons(ethhdr->type)) { /* IP packet? */ -- 2.30.2