From 9f1fc49ac9be98eaae2cbdaca6a4d9748a398c89 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 6 Jan 2022 16:55:53 -0800 Subject: [PATCH] random: remove @return doc for void functions For functions returning nothing, there is no need to document with @return, as Doxgen complains about "documented empty return type of ...". Signed-off-by: Daniel Leung --- subsys/random/rand32_timer.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/subsys/random/rand32_timer.c b/subsys/random/rand32_timer.c index eaea324eeed..47b9cb8defc 100644 --- a/subsys/random/rand32_timer.c +++ b/subsys/random/rand32_timer.c @@ -31,7 +31,6 @@ static atomic_val_t _rand32_counter; #define _RAND32_INC 1000000003U /** - * * @brief Get a 32 bit random number * * The non-random number generator returns values that are based off the @@ -40,14 +39,12 @@ static atomic_val_t _rand32_counter; * * @return a 32-bit number */ - uint32_t z_impl_sys_rand32_get(void) { return k_cycle_get_32() + atomic_add(&_rand32_counter, _RAND32_INC); } /** - * * @brief Fill destination buffer with random numbers * * The non-random number generator returns values that are based off the @@ -56,10 +53,7 @@ uint32_t z_impl_sys_rand32_get(void) * * @param dst destination buffer to fill * @param outlen size of destination buffer to fill - * - * @return N/A */ - void z_impl_sys_rand_get(void *dst, size_t outlen) { uint8_t *udst = dst;