diff options
-rw-r--r-- | include/net/sctp/structs.h | 1 | ||||
-rw-r--r-- | net/sctp/transport.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index bb857957a88a..02f1fd5de4be 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -843,7 +843,6 @@ struct sctp_transport { | |||
843 | 843 | ||
844 | /* This is the peer's IP address and port. */ | 844 | /* This is the peer's IP address and port. */ |
845 | union sctp_addr ipaddr; | 845 | union sctp_addr ipaddr; |
846 | union sctp_addr ipaddr_h; | ||
847 | 846 | ||
848 | /* These are the functions we call to handle LLP stuff. */ | 847 | /* These are the functions we call to handle LLP stuff. */ |
849 | struct sctp_af *af_specific; | 848 | struct sctp_af *af_specific; |
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index 05ab5e9c7c47..3e5936a5f671 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c | |||
@@ -62,7 +62,6 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer, | |||
62 | { | 62 | { |
63 | /* Copy in the address. */ | 63 | /* Copy in the address. */ |
64 | peer->ipaddr = *addr; | 64 | peer->ipaddr = *addr; |
65 | flip_to_h(&peer->ipaddr_h, &peer->ipaddr); | ||
66 | peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); | 65 | peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); |
67 | peer->asoc = NULL; | 66 | peer->asoc = NULL; |
68 | 67 | ||