From d7eea49315c8712757bf5920a46db48a58b5bb6d Mon Sep 17 00:00:00 2001 From: Hans Kristian Rosbach Date: Sat, 3 Feb 2024 12:46:10 +0100 Subject: [PATCH] Remove unused code in makecrct.c --- tools/makecrct.c | 6 ------ 1 file changed, 6 deletions(-) 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); } /* -- 2.47.2