]> Pileus Git - ~andy/linux/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)
commit84b9cd633bc35a028b313178829ee313525f6892
treed087ea7d0344b394bfcafa035f563cb7f1cf8a68
parent15c77d8b3be5a7f451035e6487127f58e5f872fa
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