mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-02 23:53:28 +00:00
doc: remove '@return None' for void functions
doxygen will warn that documented return type is found for functions that does not return anything in 1.9.4 or later versions. 'None' is not a special keyword in doxyge, it will recognize it as description to the return value that does not exist in void functions. Tracked-On: #8425 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
committed by
David Kinder
parent
917f906268
commit
7bfbdf04b8
@@ -59,8 +59,6 @@ struct hv_timer {
|
||||
*
|
||||
* @remark Don't initialize a timer twice if it has been added to the timer list
|
||||
* after calling add_timer. If you want to, delete the timer from the list first.
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void initialize_timer(struct hv_timer *timer,
|
||||
timer_handle_t func, void *priv_data,
|
||||
@@ -92,8 +90,6 @@ bool timer_is_started(const struct hv_timer *timer);
|
||||
* @param[in] timer Pointer to timer.
|
||||
* @param[in] timeout deadline to interrupt.
|
||||
* @param[in] period period of the periodic timer in unit of CPU ticks.
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void update_timer(struct hv_timer *timer, uint64_t timeout, uint64_t period);
|
||||
|
||||
@@ -114,16 +110,12 @@ int32_t add_timer(struct hv_timer *timer);
|
||||
*
|
||||
* @param[in] timer Pointer to timer.
|
||||
*
|
||||
* @return None
|
||||
*
|
||||
* @remark Don't call it in the timer callback function or interrupt content.
|
||||
*/
|
||||
void del_timer(struct hv_timer *timer);
|
||||
|
||||
/**
|
||||
* @brief Initialize timer.
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void timer_init(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user