Skip to content

Commit

Permalink
[SCTP]: ->a_h is gone now.
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent 5ae955c commit 74af924
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion include/net/sctp/structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,6 @@ const union sctp_addr *sctp_source(const struct sctp_chunk *chunk);
struct sctp_sockaddr_entry {
struct list_head list;
union sctp_addr a;
union sctp_addr a_h;
__u8 use_as_src;
};

Expand Down
2 changes: 0 additions & 2 deletions net/sctp/bind_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new,
if (!addr->a.v4.sin_port)
addr->a.v4.sin_port = htons(bp->port);

flip_to_h(&addr->a_h, &addr->a);

addr->use_as_src = use_as_src;

INIT_LIST_HEAD(&addr->list);
Expand Down
1 change: 0 additions & 1 deletion net/sctp/ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ static void sctp_v6_copy_addrlist(struct list_head *addrlist,
addr->a.v6.sin6_port = 0;
addr->a.v6.sin6_addr = ifp->addr;
addr->a.v6.sin6_scope_id = dev->ifindex;
addr->a_h = addr->a;
INIT_LIST_HEAD(&addr->list);
list_add_tail(&addr->list, addrlist);
}
Expand Down
1 change: 0 additions & 1 deletion net/sctp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ static void sctp_v4_copy_addrlist(struct list_head *addrlist,
addr->a.v4.sin_family = AF_INET;
addr->a.v4.sin_port = 0;
addr->a.v4.sin_addr.s_addr = ifa->ifa_local;
addr->a_h = addr->a;
list_add_tail(&addr->list, addrlist);
}
}
Expand Down

0 comments on commit 74af924

Please sign in to comment.