chore: fix clang-tidy warnings

Change-Id: I2cd96000b7216ac88cb7a7ca586c1168e0229b1d
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/src/boot_info.c b/src/boot_info.c
index c229e0a..f4046c4 100644
--- a/src/boot_info.c
+++ b/src/boot_info.c
@@ -52,8 +52,8 @@
 	 */
 	memset_s(info_desc, FFA_BOOT_INFO_NAME_LEN, 0, FFA_BOOT_INFO_NAME_LEN);
 
-	info_desc->type = std_type == true ? FFA_BOOT_INFO_TYPE_STD
-					   : FFA_BOOT_INFO_TYPE_IMPDEF;
+	info_desc->type =
+		std_type ? FFA_BOOT_INFO_TYPE_STD : FFA_BOOT_INFO_TYPE_IMPDEF;
 	info_desc->type <<= FFA_BOOT_INFO_TYPE_SHIFT;
 	info_desc->type |= (type_id & FFA_BOOT_INFO_TYPE_ID_MASK);
 
@@ -183,7 +183,7 @@
 		ret = true;
 	}
 
-	if (ret == true) {
+	if (ret) {
 		/*
 		 * Flush the data cache in case partition initializes with
 		 * caches disabled.