summaryrefslogtreecommitdiff
path: root/functable.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-05-07 07:36:32 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-05-25 15:17:46 +0200
commit8f110451f76d3b0b4fca07b523883d03ad56f6b7 (patch)
tree61dc0770d706f6d49c0d3677d4bcedaeb11017bc /functable.c
parent1e280ca517976f464116a460729cd0a34b5dd682 (diff)
Remove support for DYNAMIC_CRC_TABLE which was broken.
Diffstat (limited to 'functable.c')
-rw-r--r--functable.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/functable.c b/functable.c
index 17cc812..cb6fd2a 100644
--- a/functable.c
+++ b/functable.c
@@ -48,11 +48,6 @@ extern uint32_t adler32_neon(uint32_t adler, const unsigned char *buf, size_t le
/* CRC32 */
ZLIB_INTERNAL uint32_t crc32_generic(uint32_t, const unsigned char *, uint64_t);
-#ifdef DYNAMIC_CRC_TABLE
-extern volatile int crc_table_empty;
-extern void make_crc_table(void);
-#endif
-
#ifdef __ARM_FEATURE_CRC32
extern uint32_t crc32_acle(uint32_t, const unsigned char *, uint64_t);
#endif
@@ -201,10 +196,6 @@ ZLIB_INTERNAL uint32_t crc32_stub(uint32_t crc, const unsigned char *buf, uint64
"crc32_z takes size_t but internally we have a uint64_t len");
/* return a function pointer for optimized arches here after a capability test */
-#ifdef DYNAMIC_CRC_TABLE
- if (crc_table_empty)
- make_crc_table();
-#endif /* DYNAMIC_CRC_TABLE */
cpu_check_features();
if (sizeof(void *) == sizeof(ptrdiff_t)) {