ipv6: remove obsolete comment in ip6_append_data()
authorLi RongQing <roy.qing.li@gmail.com>
Fri, 25 Jul 2014 06:45:11 +0000 (14:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jul 2014 06:47:04 +0000 (23:47 -0700)
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>
net/ipv6/ip6_output.c

index 759456f..2e339d2 100644 (file)
@@ -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);