random: random_timer.c Remove __GNUC__ ifdef

Remove an old __GNUC__ ifdef

Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
This commit is contained in:
Robin Kastberg 2024-11-01 22:17:05 +01:00 committed by Dan Kalowsky
parent 3a39ca1e7e
commit 5d52e39a52

View file

@ -20,8 +20,6 @@
#include <zephyr/spinlock.h>
#include <string.h>
#if defined(__GNUC__)
static struct k_spinlock rand32_lock;
/**
@ -71,4 +69,3 @@ void z_impl_sys_rand_get(void *dst, size_t outlen)
outlen -= blocksize;
}
}
#endif /* __GNUC__ */