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 <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2022-01-06 17:03:32 -08:00 committed by Anas Nashif
commit e2e40862c1

View file

@ -7,7 +7,8 @@
#include <stdio.h> #include <stdio.h>
#include <arch/xtensa/irq.h> #include <arch/xtensa/irq.h>
#include <sys/__assert.h> #include <sys/__assert.h>
/*
/**
* @internal * @internal
* *
* @brief Set an interrupt's priority * @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 * 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. * interrupts are locked system-wide, so care must be taken when using them.
* ISR installed with priority 0 interrupts cannot make kernel calls. * 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) void z_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags)
{ {
__ASSERT(prio < XCHAL_EXCM_LEVEL + 1, __ASSERT(prio < XCHAL_EXCM_LEVEL + 1,