projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'imx-fixes-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
[linux-2.6-microblaze.git]
/
drivers
/
tee
/
optee
/
ffa_abi.c
diff --git
a/drivers/tee/optee/ffa_abi.c
b/drivers/tee/optee/ffa_abi.c
index
4542482
..
d8c8683
100644
(file)
--- a/
drivers/tee/optee/ffa_abi.c
+++ b/
drivers/tee/optee/ffa_abi.c
@@
-810,10
+810,9
@@
static int optee_ffa_probe(struct ffa_device *ffa_dev)
return -EINVAL;
optee = kzalloc(sizeof(*optee), GFP_KERNEL);
- if (!optee) {
- rc = -ENOMEM;
- goto err;
- }
+ if (!optee)
+ return -ENOMEM;
+
optee->pool = optee_ffa_config_dyn_shm();
if (IS_ERR(optee->pool)) {
rc = PTR_ERR(optee->pool);