fix(services): declare unused parameters as void
This corrects the MISRA violation C2012-2.7:
There should be no unused parameters in functions.
Declared unused function parameters as void.
Change-Id: I44aa576a081f0925aa29b42d7432faec46605a87
Signed-off-by: Nithin G <nithing@amd.com>
Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
diff --git a/services/arm_arch_svc/arm_arch_svc_setup.c b/services/arm_arch_svc/arm_arch_svc_setup.c
index f76bbea..94506ed 100644
--- a/services/arm_arch_svc/arm_arch_svc_setup.c
+++ b/services/arm_arch_svc/arm_arch_svc_setup.c
@@ -267,6 +267,11 @@
void *handle,
u_register_t flags)
{
+ (void)x2;
+ (void)x3;
+ (void)x4;
+ (void)cookie;
+
switch (smc_fid) {
case SMCCC_VERSION:
SMC_RET1(handle, smccc_version());