diff options
author | Eric Dumazet <edumazet@google.com> | 2013-12-06 07:31:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-06 18:51:40 +0100 |
commit | 7b7fc97aa390dfe4770e1d19e215fa289d94b477 (patch) | |
tree | 780f432a513cc6e8c980b061b38e0c3c01288a99 /drivers/pcmcia/pxa2xx_hx4700.c | |
parent | gro: small napi_get_frags() optim (diff) | |
download | linux-7b7fc97aa390dfe4770e1d19e215fa289d94b477.tar.xz linux-7b7fc97aa390dfe4770e1d19e215fa289d94b477.zip |
tcp: optimize some skb_shinfo(skb) uses
Compiler doesn't know skb_shinfo(skb) pointer is usually constant.
By using a temporary variable, we help generating smaller code.
For example, tcp_init_nondata_skb() is inlined after this patch.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_hx4700.c')
0 files changed, 0 insertions, 0 deletions