From: Matthew Daley Date: Fri, 8 Nov 2013 10:10:08 +0000 (+0100) Subject: mini-os: remove repeated statement in netfront_input X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b4cc09531c21a1c12a10daf6f1bceef11f3620e1;p=people%2Fliuw%2Flibxenctrl-split%2Fmini-os.git mini-os: remove repeated statement in netfront_input Signed-off-by: Matthew Daley Acked-by: Samuel Thibault --- diff --git a/lwip-net.c b/lwip-net.c index 9fded11..449b70f 100644 --- a/lwip-net.c +++ b/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? */