From e2e40862c103b4788c06195785e072022c6c49dc Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 6 Jan 2022 17:03:32 -0800 Subject: [PATCH] xtensa: 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 --- arch/xtensa/core/irq_manage.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/xtensa/core/irq_manage.c b/arch/xtensa/core/irq_manage.c index 34209240ca2..1e0db5a6905 100644 --- a/arch/xtensa/core/irq_manage.c +++ b/arch/xtensa/core/irq_manage.c @@ -7,7 +7,8 @@ #include #include #include -/* + +/** * @internal * * @brief Set an interrupt's priority @@ -22,10 +23,7 @@ * Valid values are from 1 to 6. Interrupts of priority 1 are not masked when * interrupts are locked system-wide, so care must be taken when using them. * ISR installed with priority 0 interrupts cannot make kernel calls. - * - * @return N/A */ - void z_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) { __ASSERT(prio < XCHAL_EXCM_LEVEL + 1,