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 759456f0c207c72a544c333a902234c8abd0e598..2e339d241b6997d2e11ae7159b218e86d55885d8 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);