]> git.baikalelectronics.ru Git - kernel.git/commit
gro: small napi_get_frags() optim
authorEric Dumazet <edumazet@google.com>
Fri, 6 Dec 2013 05:44:27 +0000 (21:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2013 17:51:40 +0000 (12:51 -0500)
commitd2ac7ce0365046298f29cd98cbd64cea2da76055
treed087ea7d0344b394bfcafa035f563cb7f1cf8a68
parent1531ef52106560a60a98774cc3b55255fe34705b
gro: small napi_get_frags() optim

Remove one useless conditional branch :
napi->skb is NULL, so nothing bad can happen.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c