From d8cc34de4e4bb4d3061c907fcb5e7ade11c58cab Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 6 Jan 2022 17:30:13 -0800 Subject: [PATCH] modbus: 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 --- include/modbus/modbus.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/modbus/modbus.h b/include/modbus/modbus.h index 400dc8b9d9e..7823494549f 100644 --- a/include/modbus/modbus.h +++ b/include/modbus/modbus.h @@ -487,8 +487,6 @@ int modbus_raw_submit_rx(const int iface, const struct modbus_adu *adu); * @param adu Pointer to the RAW ADU struct * @param header Pointer to the buffer in which MBAP header * will be placed. - * - * @retval 0 If transfer was successful */ void modbus_raw_put_header(const struct modbus_adu *adu, uint8_t *header); @@ -497,8 +495,6 @@ void modbus_raw_put_header(const struct modbus_adu *adu, uint8_t *header); * * @param adu Pointer to the RAW ADU struct * @param header Pointer to the buffer containing MBAP header - * - * @retval 0 If transfer was successful */ void modbus_raw_get_header(struct modbus_adu *adu, const uint8_t *header);