summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/sctp/structs.h1
-rw-r--r--net/sctp/transport.c1
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 {
/* 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;
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,
{
/* 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;