Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d78d7b58 authored by Amit Blay's avatar Amit Blay
Browse files

soc: qcom: scm_qcpe: Fix unused variable warning



Fix an unused variable warning when GHS flag is not defined.

Change-Id: Icd5b8bbb0e1bd7bedbaa6c806889d21213cb23f2
Signed-off-by: default avatarAmit Blay <ablay@codeaurora.org>
parent 29409478
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -416,11 +416,11 @@ static int scm_call_qcpe(u32 fn_id, struct scm_desc *desc)
	static bool opened;
	static u32 handle;
	u32 size_bytes;
	int i;
	uint64_t arglen = desc->arginfo & 0xf;
	struct smc_params_s smc_params = {0,};
	int ret;
#ifdef CONFIG_GHS_VMM
	int i;
	uint64_t arglen = desc->arginfo & 0xf;
	struct ion_handle *ihandle = NULL;
#endif