diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-26 07:07:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-26 07:07:20 -0400 |
commit | d84d64dcb3b54c900113f8dcd1240205ae164922 (patch) | |
tree | 7242462f5cda2cdf4402ba0e6726b5ce7a8beca8 /net | |
parent | 39296ed6699df34fdfbf1b14281c07321a079a3d (diff) |
[SCTP]: #if 0 sctp_update_copy_cksum()
sctp_update_copy_cksum() is no longer used.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/sctp/crc32c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sctp/crc32c.c b/net/sctp/crc32c.c index 59cf7b06d216..181edabdb8ca 100644 --- a/net/sctp/crc32c.c +++ b/net/sctp/crc32c.c | |||
@@ -170,6 +170,7 @@ __u32 sctp_update_cksum(__u8 *buffer, __u16 length, __u32 crc32) | |||
170 | return crc32; | 170 | return crc32; |
171 | } | 171 | } |
172 | 172 | ||
173 | #if 0 | ||
173 | __u32 sctp_update_copy_cksum(__u8 *to, __u8 *from, __u16 length, __u32 crc32) | 174 | __u32 sctp_update_copy_cksum(__u8 *to, __u8 *from, __u16 length, __u32 crc32) |
174 | { | 175 | { |
175 | __u32 i; | 176 | __u32 i; |
@@ -186,6 +187,7 @@ __u32 sctp_update_copy_cksum(__u8 *to, __u8 *from, __u16 length, __u32 crc32) | |||
186 | 187 | ||
187 | return crc32; | 188 | return crc32; |
188 | } | 189 | } |
190 | #endif /* 0 */ | ||
189 | 191 | ||
190 | __u32 sctp_end_cksum(__u32 crc32) | 192 | __u32 sctp_end_cksum(__u32 crc32) |
191 | { | 193 | { |