[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 6/6] mini-os: remove repeated statement in netfront_input



Matthew Daley, le Fri 08 Nov 2013 13:45:12 +1300, a écrit :
> Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx>

Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
>  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 9fded11..449b70f 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? */
> -- 
> 1.7.10.4
> 

-- 
Samuel
<studdud> what the fuck is wtf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.