Skip to content
Commit 3899c928 authored by Conley Lee's avatar Conley Lee Committed by David S. Miller
Browse files

sun4i-emac.c: remove unnecessary branch



According to the current implementation of emac_rx, every arrived packet
will be processed in the while loop. So, there is no remain packet last
time. The skb_last field and this branch for dealing with it is
unnecessary.

Signed-off-by: default avatarConley Lee <conleylee@foxmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34ac17ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment