]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/sctp/sctp.h
hlist: drop the node parameter from iterators
[karo-tx-linux.git] / include / net / sctp / sctp.h
index 7fdf298a47efc1d18794661b652598cf960c7df2..df85a0c0f2d52f0b71d02232f0a015e1a805112f 100644 (file)
@@ -675,8 +675,8 @@ static inline int sctp_vtag_hashfn(__u16 lport, __u16 rport, __u32 vtag)
        return h & (sctp_assoc_hashsize - 1);
 }
 
-#define sctp_for_each_hentry(epb, node, head) \
-       hlist_for_each_entry(epb, node, head, node)
+#define sctp_for_each_hentry(epb, head) \
+       hlist_for_each_entry(epb, head, node)
 
 /* Is a socket of this style? */
 #define sctp_style(sk, style) __sctp_style((sk), (SCTP_SOCKET_##style))