提交 80f15d62 编写于 作者: A Al Viro 提交者: David S. Miller

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

kill it
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a9266268
......@@ -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;
......
......@@ -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));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册