summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2014-07-25 14:45:11 +0800
committerDavid S. Miller <davem@davemloft.net>2014-07-24 23:47:04 -0700
commitac3d2e5a9ef2f4d8f57c50070c4883ecb7cec29f (patch)
tree301e868f3c2c13ff8617ec4b3b3e8c8c451cf836 /net/ipv6
parent1e3550e46141b4734c237de69612175c13dc38cc (diff)
downloadlinux-ac3d2e5a9ef2f4d8f57c50070c4883ecb7cec29f.tar.gz
linux-ac3d2e5a9ef2f4d8f57c50070c4883ecb7cec29f.tar.bz2
linux-ac3d2e5a9ef2f4d8f57c50070c4883ecb7cec29f.zip
ipv6: remove obsolete comment in ip6_append_data()
After 11878b40e[net-timestamp: SOCK_RAW and PING timestamping], this comment becomes obsolete since the codes check not only UDP socket, but also RAW sock; and the codes are clear, not need the comments Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/ip6_output.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 759456f0c207..2e339d241b69 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -1270,7 +1270,6 @@ emsgsize:
}
}
- /* For UDP, check if TX timestamp is enabled */
if (sk->sk_type == SOCK_DGRAM || sk->sk_type == SOCK_RAW)
sock_tx_timestamp(sk, &tx_flags);