From 8ce361202c651819a04f8eefcb90df635f7ae874 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 25 Mar 2019 15:03:22 +0100 Subject: [PATCH] style - unused --- common/legic_prng.c | 4 ---- include/legic_prng.h | 1 - 2 files changed, 5 deletions(-) diff --git a/common/legic_prng.c b/common/legic_prng.c index 5406161fc..8646f55a9 100644 --- a/common/legic_prng.c +++ b/common/legic_prng.c @@ -46,10 +46,6 @@ void legic_prng_forward(int count) { } } -uint32_t legic_prng_count() { - return lfsr.c; -} - uint8_t legic_prng_get_bit() { uint8_t idx = 7 - ((lfsr.a & 4) | (lfsr.a >> 2 & 2) | (lfsr.a >> 4 & 1)); return lfsr.b >> idx & 1; diff --git a/include/legic_prng.h b/include/legic_prng.h index 1f3042779..16855ab90 100644 --- a/include/legic_prng.h +++ b/include/legic_prng.h @@ -12,7 +12,6 @@ #include extern void legic_prng_init(uint8_t iv); extern void legic_prng_forward(int count); -extern uint32_t legic_prng_count(); extern uint8_t legic_prng_get_bit(); extern uint32_t legic_prng_get_bits(uint8_t len); #endif