]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove unused code in makecrct.c
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Sat, 3 Feb 2024 11:46:10 +0000 (12:46 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 5 Feb 2024 07:17:33 +0000 (08:17 +0100)
tools/makecrct.c

index 5c3ba58a1a6237afe4d89155677410b8a0d4652e..9e65d2495475f369f553d1a8daf5a61fce57d942 100644 (file)
@@ -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);
 }
 
 /*