netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] #if 0 sctp_update_copy_cksum()
@ 2007-10-24 16:24 Adrian Bunk
  2007-10-24 20:30 ` Vlad Yasevich
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:24 UTC (permalink / raw)
  To: Vlad Yasevich, sri; +Cc: lksctp-developers, linux-kernel, netdev

sctp_update_copy_cksum() is no longer used.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

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

fc6646f84c07666228166c678ff2b5916db925ed 
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 119f5a1..93eb708 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -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
diff --git a/net/sctp/crc32c.c b/net/sctp/crc32c.c
index 59cf7b0..181edab 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)
 	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)
 {


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] #if 0 sctp_update_copy_cksum()
  2007-10-24 16:24 [2.6 patch] #if 0 sctp_update_copy_cksum() Adrian Bunk
@ 2007-10-24 20:30 ` Vlad Yasevich
  2007-10-26 11:07   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Vlad Yasevich @ 2007-10-24 20:30 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: sri, lksctp-developers, linux-kernel, netdev

Adrian Bunk wrote:
> sctp_update_copy_cksum() is no longer used.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

ACK.

-vlad

> 
> ---
> 
>  include/net/sctp/sctp.h |    1 -
>  net/sctp/crc32c.c       |    2 ++
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> fc6646f84c07666228166c678ff2b5916db925ed 
> diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
> index 119f5a1..93eb708 100644
> --- a/include/net/sctp/sctp.h
> +++ b/include/net/sctp/sctp.h
> @@ -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
> diff --git a/net/sctp/crc32c.c b/net/sctp/crc32c.c
> index 59cf7b0..181edab 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)
>  	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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] #if 0 sctp_update_copy_cksum()
  2007-10-24 20:30 ` Vlad Yasevich
@ 2007-10-26 11:07   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2007-10-26 11:07 UTC (permalink / raw)
  To: vladislav.yasevich; +Cc: bunk, sri, lksctp-developers, linux-kernel, netdev

From: Vlad Yasevich <vladislav.yasevich@hp.com>
Date: Wed, 24 Oct 2007 16:30:34 -0400

> Adrian Bunk wrote:
> > sctp_update_copy_cksum() is no longer used.
> > 
> > Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ACK.

Applied, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-26 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:24 [2.6 patch] #if 0 sctp_update_copy_cksum() Adrian Bunk
2007-10-24 20:30 ` Vlad Yasevich
2007-10-26 11:07   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).