[SCSI] iscsi class, qla4xxx: fix sess/conn refcounting when find fns are used
[firefly-linux-kernel-4.4.55.git] / include / net / sock.h
index 08f05f964737433390e898448bc27885ded905e8..5c97b0fc5623aa4bb44db9082d6631ad0a27fafe 100644 (file)
@@ -2159,10 +2159,9 @@ static inline void sock_recv_ts_and_drops(struct msghdr *msg, struct sock *sk,
  * @sk:                socket sending this packet
  * @tx_flags:  filled with instructions for time stamping
  *
- * Currently only depends on SOCK_TIMESTAMPING* flags. Returns error code if
- * parameters are invalid.
+ * Currently only depends on SOCK_TIMESTAMPING* flags.
  */
-extern int sock_tx_timestamp(struct sock *sk, __u8 *tx_flags);
+extern void sock_tx_timestamp(struct sock *sk, __u8 *tx_flags);
 
 /**
  * sk_eat_skb - Release a skb if it is no longer needed