summaryrefslogtreecommitdiff
path: root/plat/imx
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-02-13 10:46:55 +0100
committerElyes HAOUAS <ehaouas@noos.fr>2023-02-16 15:15:30 +0200
commitaf4d8c6d505c001ee78ea9dd9d8dd76ba039af9b (patch)
tree80c3d2d12e9d6872dd69b0444f881dc627dc1f9f /plat/imx
parent23af5965e967d12f337229cde707811f8ae2d893 (diff)
downloadarm-trusted-firmware-af4d8c6d505c001ee78ea9dd9d8dd76ba039af9b.tar.gz
fix: remove useless "return" at void functions
void functions() returns nothing. So remove useless "return". found using checkpatch.pl[1] [1]: https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/util/lint/checkpatch.pl Change-Id: I3daab2abec225a657af48f7d8c215cc554713074 Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'plat/imx')
-rw-r--r--plat/imx/common/sci/svc/pm/pm_rpc_clnt.c2
-rw-r--r--plat/imx/common/sci/svc/rm/rm_rpc_clnt.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/plat/imx/common/sci/svc/pm/pm_rpc_clnt.c b/plat/imx/common/sci/svc/pm/pm_rpc_clnt.c
index 66a57a13d..228cff8b5 100644
--- a/plat/imx/common/sci/svc/pm/pm_rpc_clnt.c
+++ b/plat/imx/common/sci/svc/pm/pm_rpc_clnt.c
@@ -412,8 +412,6 @@ void sc_pm_reboot(sc_ipc_t ipc, sc_pm_reset_type_t type)
RPC_SIZE(&msg) = 2U;
sc_call_rpc(ipc, &msg, SC_TRUE);
-
- return;
}
sc_err_t sc_pm_reboot_partition(sc_ipc_t ipc, sc_rm_pt_t pt,
diff --git a/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c b/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c
index 16771a583..2cea01f11 100644
--- a/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c
+++ b/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c
@@ -632,8 +632,6 @@ void sc_rm_dump(sc_ipc_t ipc)
RPC_SIZE(&msg) = 1U;
sc_call_rpc(ipc, &msg, SC_FALSE);
-
- return;
}
/**@}*/