aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 20:14:23 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:26:57 -0500
commit80f15d62418040e78849f5fc3a4a5af9c9d1fec7 (patch)
tree8b6e07b00843467d06dda45cc8d00e5dc3363a19
parenta926626893aca20567f27af1c5edc830e1c51b2b (diff)
[SCTP]: ->source_h is not used anymore.
kill it Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/sctp/structs.h1
-rw-r--r--net/sctp/sm_make_chunk.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 275195620145..9bb5c038b95a 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -714,7 +714,6 @@ struct sctp_chunk {
714 714
715 /* What is the origin IP address for this chunk? */ 715 /* What is the origin IP address for this chunk? */
716 union sctp_addr source; 716 union sctp_addr source;
717 union sctp_addr source_h;
718 /* Destination address for this chunk. */ 717 /* Destination address for this chunk. */
719 union sctp_addr dest; 718 union sctp_addr dest;
720 719
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index beee1aa09e7a..9d55497627f6 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1032,7 +1032,6 @@ void sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src,
1032 union sctp_addr *dest) 1032 union sctp_addr *dest)
1033{ 1033{
1034 memcpy(&chunk->source, src, sizeof(union sctp_addr)); 1034 memcpy(&chunk->source, src, sizeof(union sctp_addr));
1035 flip_to_h(&chunk->source_h, &chunk->source);
1036 memcpy(&chunk->dest, dest, sizeof(union sctp_addr)); 1035 memcpy(&chunk->dest, dest, sizeof(union sctp_addr));
1037} 1036}
1038 1037