[U-Boot] [PATCH 3/3] include/crc.h: Remove unreferenced cyg_xxx() prototypes

Stefan Roese sr at denx.de
Thu Mar 3 09:34:13 CET 2016


These cyg_ prototypes are not referenced anywhere in current mainline
U-Boot. So lets remove them.

Signed-off-by: Stefan Roese <sr at denx.de>
---
 include/crc.h | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/include/crc.h b/include/crc.h
index b0031b2..111cb4a 100644
--- a/include/crc.h
+++ b/include/crc.h
@@ -36,32 +36,6 @@
 # endif
 #endif
 
-/* Compute a CRC, using the POSIX 1003 definition */
-extern uint32_t
-cyg_posix_crc32(unsigned char *s, int len);
-
-/* Gary S. Brown's 32 bit CRC */
-
-extern uint32_t
-cyg_crc32(unsigned char *s, int len);
-
-/* Gary S. Brown's 32 bit CRC, but accumulate the result from a */
-/* previous CRC calculation */
-
-extern uint32_t
-cyg_crc32_accumulate(uint32_t crc, unsigned char *s, int len);
-
-/* Ethernet FCS Algorithm */
-
-extern uint32_t
-cyg_ether_crc32(unsigned char *s, int len);
-
-/* Ethernet FCS algorithm, but accumulate the result from a previous */
-/* CRC calculation. */
-
-extern uint32_t
-cyg_ether_crc32_accumulate(uint32_t crc, unsigned char *s, int len);
-
 /* 16 bit CRC with polynomial x^16+x^12+x^5+1 (CRC-CCITT) */
 
 uint16_t crc16_ccitt(uint16_t crc_start, unsigned char *s, int len);
-- 
2.7.2



More information about the U-Boot mailing list