Skip to contentSkip to conversation

#if 0 sctp_update_copy_cksum()

PATCH Applied Adrian Bunk 3 participants 3 messages Oct 24, 2007 – Oct 26, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 #if 0 sctp_update_copy_cksum()

sctp_update_copy_cksum() is no longer used.

---

 include/net/sctp/sctp.h |    1 -
 net/sctp/crc32c.c       |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

fc6646f84c07666228166c678ff2b5916db925ed

include/net/sctp/sctp.h +0 -1
index 119f5a1..93eb708 100644
@@ -156,7 +156,6 @@ int sctp_primitive_ASCONF(struct sctp_association *, void *arg);
 __u32 sctp_start_cksum(__u8 *ptr, __u16 count);
 __u32 sctp_update_cksum(__u8 *ptr, __u16 count, __u32 cksum);
 __u32 sctp_end_cksum(__u32 cksum);
-__u32 sctp_update_copy_cksum(__u8 *, __u8 *, __u16 count, __u32 cksum);
 
 /*
  * sctp/input.c
net/sctp/crc32c.c +2 -0
index 59cf7b0..181edab 100644
@@ -170,6 +170,7 @@ __u32 sctp_update_cksum(__u8 *buffer, __u16 length, __u32 crc32)
 	return crc32;
 }
 
+#if 0
 __u32 sctp_update_copy_cksum(__u8 *to, __u8 *from, __u16 length, __u32 crc32)
 {
 	__u32 i;
@@ -186,6 +187,7 @@ __u32 sctp_update_copy_cksum(__u8 *to, __u8 *from, __u16 length, __u32 crc32)
 
 	return crc32;
 }
+#endif  /*  0  */
 
 __u32 sctp_end_cksum(__u32 crc32)
 {
#1 lore raw
Quoted 3 lines · Adrian Bunk

sctp_update_copy_cksum() is no longer used.

ACK.

-vlad

Quoted 46 lines

---

 include/net/sctp/sctp.h |    1 -
 net/sctp/crc32c.c       |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

fc6646f84c07666228166c678ff2b5916db925ed

include/net/sctp/sctp.h +0 -1
index 119f5a1..93eb708 100644
@@ -156,7 +156,6 @@ int sctp_primitive_ASCONF(struct sctp_association *, void *arg);
 __u32 sctp_start_cksum(__u8 *ptr, __u16 count);
 __u32 sctp_update_cksum(__u8 *ptr, __u16 count, __u32 cksum);
 __u32 sctp_end_cksum(__u32 cksum);
-__u32 sctp_update_copy_cksum(__u8 *, __u8 *, __u16 count, __u32 cksum);
 
 /*
  * sctp/input.c
net/sctp/crc32c.c +2 -1
index 59cf7b0..181edab 100644
@@ -170,6 +170,7 @@ __u32 sctp_update_cksum(__u8 *buffer, __u16 length, __u32 crc32)
 	return crc32;
 }
 
+#if 0
 __u32 sctp_update_copy_cksum(__u8 *to, __u8 *from, __u16 length, __u32 crc32)
 {
 	__u32 i;
@@ -186,6 +187,7 @@ __u32 sctp_update_copy_cksum(__u8 *to, __u8 *from, __u16 length, __u32 crc32)
 
 	return crc32;
 }
+#endif  /*  0  */
 
 __u32 sctp_end_cksum(__u32 crc32)
 {
 
-

To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html