]> git.sur5r.net Git - u-boot/blobdiff - lib_generic/crc32.c
Change Yellowstone to use CFI write buffer
[u-boot] / lib_generic / crc32.c
index 2de39c7db719d52eaae494e16eabf775fe0d64f3..50ca4ffd380da094ff64810c4406945f9f1581e6 100644 (file)
@@ -155,7 +155,6 @@ uLong ZEXPORT crc32(crc, buf, len)
     const Bytef *buf;
     uInt len;
 {
-    if (buf == Z_NULL) return 0L;
 #ifdef DYNAMIC_CRC_TABLE
     if (crc_table_empty)
       make_crc_table();
@@ -179,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();