[SCTP]: ->a_h is gone now.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:24:02 +0000 (17:24 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:05 +0000 (21:27 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/transport.c

index bb857957a88ab3d4056a14c5a957d0c460220a64..02f1fd5de4be2f49d6e53c16ff71f8bfbf69f978 100644 (file)
@@ -843,7 +843,6 @@ struct sctp_transport {
 
        /* This is the peer's IP address and port. */
        union sctp_addr ipaddr;
-       union sctp_addr ipaddr_h;
 
        /* These are the functions we call to handle LLP stuff.  */
        struct sctp_af *af_specific;
index 05ab5e9c7c47a079ef76bd0f7e3dd6d90869c3a3..3e5936a5f671db698f560e65b4f5761ad3edd579 100644 (file)
@@ -62,7 +62,6 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer,
 {
        /* Copy in the address.  */
        peer->ipaddr = *addr;
-       flip_to_h(&peer->ipaddr_h, &peer->ipaddr);
        peer->af_specific = sctp_get_af_specific(addr->sa.sa_family);
        peer->asoc = NULL;