Skip to content

Commit

Permalink
[SCTP]: ->source_h is not used anymore.
Browse files Browse the repository at this point in the history
kill it

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 a926626 commit 80f15d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/net/sctp/structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion net/sctp/sm_make_chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 80f15d6

Please sign in to comment.