From 026dfb838861eb6c26333a81ce622d130c70546a Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 31 Mar 2021 15:05:41 +0100 Subject: [PATCH] Remove redundant code --- include/etl/private/crc_implementation.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/etl/private/crc_implementation.h b/include/etl/private/crc_implementation.h index 75c31509..c54167ba 100644 --- a/include/etl/private/crc_implementation.h +++ b/include/etl/private/crc_implementation.h @@ -551,21 +551,6 @@ namespace etl crc_table_entry::value }; - static ETL_CONSTANT size_t Index = 1; - - const size_t Shift_Bits = size_t(Accumulator_Bits - 8U); - const TAccumulator Entry = Reflect ? TAccumulator(Index) : TAccumulator(TAccumulator(Index) << Shift_Bits); - TAccumulator Table_Value = crc_partial_table_entry::value>::value>::value>::value>::value>::value>::value>::value; - - TAccumulator Polynomial_Value = Polynomial; - crc = crc_update_chunk(crc, value, table); return crc;