]> asedeno.scripts.mit.edu Git - linux.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)
commit279c075dc1d25f888f1a7423ecd1fdcdc54eba6a
tree5398aa3e8352432c85c00bf31556ff759eba4b85
parentf9568eae924717c37f8f1a42a22eaa1754a96053
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