Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761840AbXJXQch (ORCPT ); Wed, 24 Oct 2007 12:32:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759312AbXJXQXq (ORCPT ); Wed, 24 Oct 2007 12:23:46 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:33371 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754771AbXJXQXl (ORCPT ); Wed, 24 Oct 2007 12:23:41 -0400 Date: Wed, 24 Oct 2007 18:24:07 +0200 From: Adrian Bunk To: Vlad Yasevich , sri@us.ibm.com Cc: lksctp-developers@lists.sourceforge.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [2.6 patch] #if 0 sctp_update_copy_cksum() Message-ID: <20071024162407.GD30533@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1497 Lines: 49 sctp_update_copy_cksum() is no longer used. Signed-off-by: Adrian Bunk --- 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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/