Commit f3ded378 authored by dp-arm's avatar dp-arm
Browse files

tbbr: Simplify conditional



These are equivalent so use the reduced form.

Change-Id: I40ca097411b9abab69985b8e4dbccf7582eae49e
Signed-off-by: default avatardp-arm <dimitris.papastamos@arm.com>
parent c38b36d8
...@@ -60,7 +60,7 @@ int plat_set_nv_ctr2(void *cookie, const auth_img_desc_t *img_desc, ...@@ -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 * has been signed with the ROT key. Non Trusted NV counter
* updates are unconditional. * 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); return plat_set_nv_ctr(cookie, nv_ctr);
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment