Skip to content

Commit

Permalink
driver: atmel_trng: remove wrong assertion
Browse files Browse the repository at this point in the history
Remove mistakenly added assert which will always trigger in debug
mode.

Acked-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
  • Loading branch information
clementleger authored and jforissier committed Dec 10, 2021
1 parent 5c10acc commit e516cdb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/drivers/atmel_trng.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ uint8_t hw_get_random_byte(void)
/* This is a true RNG, no need for seeding */
void plat_rng_init(void)
{
assert(trng_base);
}

static void atmel_trng_reset(void)
Expand Down

0 comments on commit e516cdb

Please sign in to comment.