]> xenbits.xensource.com Git - people/liuw/mini-os.git/commitdiff
mini-os: remove repeated statement in netfront_input xen-4.4.0-rc1 xen-4.4.0-rc2
authorMatthew Daley <mattjd@gmail.com>
Fri, 8 Nov 2013 10:10:08 +0000 (11:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 8 Nov 2013 10:10:08 +0000 (11:10 +0100)
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
lwip-net.c

index 9fded114c824abe1966a81c199e959e43d0292ab..449b70fda79c6e02baacc82dca17967e8e04a438 100644 (file)
@@ -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? */