From fc573abc8a82350369f05eee14e756b8a42c23f7 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 6 Jan 2022 17:30:39 -0800 Subject: [PATCH] mcumgr: 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/mgmt/mcumgr/smp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/mgmt/mcumgr/smp.h b/include/mgmt/mcumgr/smp.h index 1be00106f86..365658f8ba4 100644 --- a/include/mgmt/mcumgr/smp.h +++ b/include/mgmt/mcumgr/smp.h @@ -95,8 +95,6 @@ struct zephyr_smp_transport { * @param get_mtu_func The transport's get-MTU function. * @param ud_copy_func The transport buffer user_data copy function. * @param ud_free_func The transport buffer user_data free function. - * - * @return 0 on success, MGMT_ERR_[...] code on failure. */ void zephyr_smp_transport_init(struct zephyr_smp_transport *zst, zephyr_smp_transport_out_fn *output_func,