summaryrefslogtreecommitdiff
path: root/plat/common/tbbr/plat_tbbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/common/tbbr/plat_tbbr.c')
-rw-r--r--plat/common/tbbr/plat_tbbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/common/tbbr/plat_tbbr.c b/plat/common/tbbr/plat_tbbr.c
index 475564a6..fde4d544 100644
--- 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);
/*