1
0
Fork 0

drivers: tee: fix compilation warnings

CC      drivers/staging/android/ion/ion_page_pool.o
  CC      drivers/tee/tee_shm.o
  CC      drivers/tee/tee_shm_pool.o
/home/work/projects/linux-imx/drivers/tee/tee_core.c: In function ‘tee_session_calc_client_uuid’:
/home/work/projects/linux-imx/drivers/tee/tee_core.c:198:14: warning: unused variable ‘application_id’ [-Wunused-variable]
  198 |  const char *application_id = NULL;
      |              ^~~~~~~~~~~~~~
  CC      drivers/tee/optee/core.o

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Acked-by: Clément Faure <clement.faure@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Silvano di Ninno 2020-07-20 12:00:03 +02:00
parent 50698e4d7b
commit 7ef0d7a722
1 changed files with 0 additions and 1 deletions

View File

@ -195,7 +195,6 @@ out:
int tee_session_calc_client_uuid(uuid_t *uuid, u32 connection_method,
const u8 connection_data[TEE_IOCTL_UUID_LEN])
{
const char *application_id = NULL;
gid_t ns_grp = (gid_t)-1;
kgid_t grp = INVALID_GID;
char *name = NULL;