mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
Merge pull request #825 from dp-arm/dp/simplify-cond
tbbr: Simplify conditional
This commit is contained in:
@@ -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);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user