From: Hans Kristian Rosbach Date: Sat, 3 Feb 2024 11:46:10 +0000 (+0100) Subject: Remove unused code in makecrct.c X-Git-Tag: 2.2.0~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7eea49315c8712757bf5920a46db48a58b5bb6d;p=thirdparty%2Fzlib-ng.git Remove unused code in makecrct.c --- diff --git a/tools/makecrct.c b/tools/makecrct.c index 5c3ba58a..9e65d249 100644 --- a/tools/makecrct.c +++ b/tools/makecrct.c @@ -21,9 +21,6 @@ static uint32_t crc_table[256]; static z_word_t crc_big_table[256]; - -static uint32_t crc_braid_table[W][256]; -static z_word_t crc_braid_big_table[W][256]; static uint32_t x2n_table[32]; #include "crc32_braid_comb_p.h" @@ -80,9 +77,6 @@ static void make_crc_table(void) { x2n_table[0] = p; for (n = 1; n < 32; n++) x2n_table[n] = p = multmodp(p, p); - - /* initialize the braiding tables -- needs x2n_table[] */ - braid(crc_braid_table, crc_braid_big_table, N, W); } /*