Commit 80f15d62 authored by Al Viro's avatar Al Viro Committed by David S. Miller

[SCTP]: ->source_h is not used anymore.

kill it
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a9266268
...@@ -714,7 +714,6 @@ struct sctp_chunk { ...@@ -714,7 +714,6 @@ struct sctp_chunk {
/* What is the origin IP address for this chunk? */ /* What is the origin IP address for this chunk? */
union sctp_addr source; union sctp_addr source;
union sctp_addr source_h;
/* Destination address for this chunk. */ /* Destination address for this chunk. */
union sctp_addr dest; union sctp_addr dest;
......
...@@ -1032,7 +1032,6 @@ void sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src, ...@@ -1032,7 +1032,6 @@ void sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src,
union sctp_addr *dest) union sctp_addr *dest)
{ {
memcpy(&chunk->source, src, sizeof(union sctp_addr)); memcpy(&chunk->source, src, sizeof(union sctp_addr));
flip_to_h(&chunk->source_h, &chunk->source);
memcpy(&chunk->dest, dest, sizeof(union sctp_addr)); memcpy(&chunk->dest, dest, sizeof(union sctp_addr));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment