From: Al Viro Date: Tue, 21 Nov 2006 01:14:23 +0000 (-0800) Subject: [SCTP]: ->source_h is not used anymore. X-Git-Tag: upstream/snapshot3+hdmi~35673^2~47^2~299 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80f15d62418040e78849f5fc3a4a5af9c9d1fec7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [SCTP]: ->source_h is not used anymore. kill it Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 2751956..9bb5c03 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -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; diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index beee1aa..9d55497 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, 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)); }