]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCTP]: ->source_h is not used anymore.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:14:23 +0000 (17:14 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:26:57 +0000 (21:26 -0800)
kill it

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/sm_make_chunk.c

index 275195620145b8fb12bfd35e5cd74da31c917979..9bb5c038b95af53954e90100a6b1d5989f86373f 100644 (file)
@@ -714,7 +714,6 @@ struct sctp_chunk {
 
        /* What is the origin IP address for this chunk?  */
        union sctp_addr source;
-       union sctp_addr source_h;
        /* Destination address for this chunk. */
        union sctp_addr dest;
 
index beee1aa09e7ae45463088546b2db01c716659015..9d55497627f663cdb8ce3affeab68699150b5af9 100644 (file)
@@ -1032,7 +1032,6 @@ void sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src,
                     union sctp_addr *dest)
 {
        memcpy(&chunk->source, src, sizeof(union sctp_addr));
-       flip_to_h(&chunk->source_h, &chunk->source);
        memcpy(&chunk->dest, dest, sizeof(union sctp_addr));
 }