]> git.baikalelectronics.ru Git - kernel.git/commit
tee: amdtee: remove unused variable initialization
authorRijo Thomas <Rijo-john.Thomas@amd.com>
Thu, 9 Jan 2020 12:53:18 +0000 (18:23 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jan 2020 07:18:13 +0000 (15:18 +0800)
commit4be38d588680d2f3c1e07f1093ca4f7cfaaf7092
tree5f7dcab84bae204c508b755ed8d5248daca1ce32
parenta6e3c304925f6f0d474a312cc08455e5a2b28dd5
tee: amdtee: remove unused variable initialization

Remove unused variable initialization from driver code.

If enabled as a compiler option, compiler may throw warning for
unused assignments.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: a1be16c860f4 ("tee: add AMD-TEE driver")
Signed-off-by: Rijo Thomas <Rijo-john.Thomas@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/tee/amdtee/call.c
drivers/tee/amdtee/core.c