projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c38b36d
)
tbbr: Simplify conditional
author
dp-arm
<dimitris.papastamos@arm.com>
Tue, 31 Jan 2017 10:54:39 +0000
(10:54 +0000)
committer
dp-arm
<dimitris.papastamos@arm.com>
Tue, 31 Jan 2017 10:55:04 +0000
(10:55 +0000)
These are equivalent so use the reduced form.
Change-Id: I40ca097411b9abab69985b8e4dbccf7582eae49e
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
plat/common/tbbr/plat_tbbr.c
patch
|
blob
|
history
diff --git
a/plat/common/tbbr/plat_tbbr.c
b/plat/common/tbbr/plat_tbbr.c
index 475564a636f72227f9a88752886b8bc2b8439bdb..fde4d544415b6c9b1ef9dfdbb75eb391a9469f12 100644
(file)
--- a/
plat/common/tbbr/plat_tbbr.c
+++ b/
plat/common/tbbr/plat_tbbr.c
@@
-60,7
+60,7
@@
int plat_set_nv_ctr2(void *cookie, const auth_img_desc_t *img_desc,
* has been signed with the ROT key. Non Trusted NV counter
* updates are unconditional.
*/
- if (!trusted_nv_ctr ||
(trusted_nv_ctr && img_desc->parent == NULL)
)
+ if (!trusted_nv_ctr ||
img_desc->parent == NULL
)
return plat_set_nv_ctr(cookie, nv_ctr);
/*