summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorSoheil Hassas Yeganeh2016-04-28 05:39:00 +0200
committerDavid S. Miller2016-04-28 22:06:10 +0200
commit863c1fd9814618eefba02218f8fadf8a430c2a17 (patch)
tree7c9ba0122ec2eb450b3d12dccbb3d847fc4628e7 /net/ipv4/tcp_output.c
parentnet: snmp: fix 64bit stats on 32bit arches (diff)
downloadkernel-qcow2-linux-863c1fd9814618eefba02218f8fadf8a430c2a17.tar.gz
kernel-qcow2-linux-863c1fd9814618eefba02218f8fadf8a430c2a17.tar.xz
kernel-qcow2-linux-863c1fd9814618eefba02218f8fadf8a430c2a17.zip
tcp: remove an unnecessary check in tcp_tx_timestamp
Remove the redundant check for sk->sk_tsflags in tcp_tx_timestamp. tcp_tx_timestamp() receives the tsflags as a parameter. As a result the "sk->sk_tsflags || tsflags" is redundant, since tsflags already includes sk->sk_tsflags plus overrides from control messages. Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions