summaryrefslogtreecommitdiff
path: root/lib_generic/crc32.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-08-17 18:55:18 +0000
committerwdenk <wdenk>2003-08-17 18:55:18 +0000
commite0ac62d798ce60ec5d43125d4786e58b0d881836 (patch)
tree3f32c8f29ff9089ef61099b11d81d51039bf2162 /lib_generic/crc32.c
parentae3af05ec986a8ac66dadb5eafe13db2d4a02c5c (diff)
* Make Ethernet autonegotiation on INCA-IP work for all clock rates;U-Boot-0_4_6
allow selection of clock frequency as "make" target * Implement memory autosizing code for IceCube boards * Configure network port on INCA-IP for autonegotiation * Fix overflow problem in network timeout code * Patch by Richard Woodruff, 8 Aug 2003: Allow crc32 to be used at address 0x000 (crc32_no_comp, too).
Diffstat (limited to 'lib_generic/crc32.c')
-rw-r--r--lib_generic/crc32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index ce18fc2252a..50ca4ffd380 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -178,7 +178,6 @@ uLong ZEXPORT crc32(crc, buf, len)
*/
uLong ZEXPORT crc32_no_comp(uLong crc, const Bytef *buf, uInt len)
{
- if (buf == Z_NULL) return 0L;
#ifdef DYNAMIC_CRC_TABLE
if (crc_table_empty)
make_crc_table();