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:
Matthew Daley authored and Jan Beulich committed 2013-11-08 11:10:08 +01:00
1 parent c4e2dfccdd
commit 5c42fd7f91
1 file changed
-2
-2
View 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? */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.