mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
mini-os: remove repeated statement in netfront_input
Signed-off-by: Matthew Daley <mattjd@gmail.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
1 parent
c4e2dfccdd
commit
5c42fd7f91
1 file changed
-2
@@ -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? */
|
||||
|
||||