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

View file

@ -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);