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: Amit Blay <ablay@codeaurora.org>
This commit is contained in:
Amit Blay 2018-05-21 08:47:11 +03:00
parent 2940947862
commit d78d7b5863

View file

@ -416,11 +416,11 @@ static int scm_call_qcpe(u32 fn_id, struct scm_desc *desc)
static bool opened; static bool opened;
static u32 handle; static u32 handle;
u32 size_bytes; u32 size_bytes;
int i;
uint64_t arglen = desc->arginfo & 0xf;
struct smc_params_s smc_params = {0,}; struct smc_params_s smc_params = {0,};
int ret; int ret;
#ifdef CONFIG_GHS_VMM #ifdef CONFIG_GHS_VMM
int i;
uint64_t arglen = desc->arginfo & 0xf;
struct ion_handle *ihandle = NULL; struct ion_handle *ihandle = NULL;
#endif #endif