From b63b71aa1b361319681aa08d8d3e0ae1230a04ce Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 6 Jan 2022 16:58:12 -0800 Subject: [PATCH] tfm: 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 --- modules/trusted-firmware-m/src/reboot.c | 2 -- samples/tfm_integration/tfm_ipc/src/main.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/modules/trusted-firmware-m/src/reboot.c b/modules/trusted-firmware-m/src/reboot.c index 295601120ea..e05015301b3 100644 --- a/modules/trusted-firmware-m/src/reboot.c +++ b/modules/trusted-firmware-m/src/reboot.c @@ -22,8 +22,6 @@ * the weak implementation of sys_arch_reboot() in scb.c. * * \pre The implementation requires the TFM_PARTITION_PLATFORM be defined. - * - * @return N/A */ #if defined(CONFIG_TFM_PARTITION_PLATFORM) diff --git a/samples/tfm_integration/tfm_ipc/src/main.c b/samples/tfm_integration/tfm_ipc/src/main.c index 820dc8fa300..5cdc06fb402 100644 --- a/samples/tfm_integration/tfm_ipc/src/main.c +++ b/samples/tfm_integration/tfm_ipc/src/main.c @@ -37,8 +37,6 @@ static void tfm_ipc_test_01(void) /** * Retrieve the minor version of a RoT Service. - * - * @return N/A */ static void tfm_ipc_test_02(void) { @@ -57,8 +55,6 @@ static void tfm_ipc_test_02(void) /** * Connect to a RoT Service by its SID. - * - * @return N/A */ static void tfm_ipc_test_03(void) {