From 5d52e39a5298a1a5c8d7375d92de8a2376a4ac1f Mon Sep 17 00:00:00 2001 From: Robin Kastberg Date: Fri, 1 Nov 2024 22:17:05 +0100 Subject: [PATCH] random: random_timer.c Remove __GNUC__ ifdef Remove an old __GNUC__ ifdef Signed-off-by: Robin Kastberg --- subsys/random/random_timer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/subsys/random/random_timer.c b/subsys/random/random_timer.c index 74ca676098b..46534d88601 100644 --- a/subsys/random/random_timer.c +++ b/subsys/random/random_timer.c @@ -20,8 +20,6 @@ #include #include -#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__ */