]> git.baikalelectronics.ru Git - kernel.git/commit
tee: amdtee: remove redundant NULL check for pool
authorRijo Thomas <Rijo-john.Thomas@amd.com>
Thu, 9 Jan 2020 12:53:22 +0000 (18:23 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jan 2020 07:18:14 +0000 (15:18 +0800)
commitafac1cb84df9616149539239a7f8971f0b37cb2a
tree5398aa3e8352432c85c00bf31556ff759eba4b85
parent2c52494d0e0b8a835d093502329c8bb8c53f92e7
tee: amdtee: remove redundant NULL check for pool

Remove NULL check for pool variable, since in the current
code path it is guaranteed to be non-NULL.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rijo Thomas <Rijo-john.Thomas@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/tee/amdtee/core.c