chore: fix clang-tidy warnings
Change-Id: I2cd96000b7216ac88cb7a7ca586c1168e0229b1d
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/src/vm.c b/src/vm.c
index dcf7eb3..1a01a6f 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -531,7 +531,7 @@
bool vm_are_notifications_enabled(struct vm *vm)
{
- return vm->notifications.enabled == true;
+ return vm->notifications.enabled;
}
bool vm_locked_are_notifications_enabled(struct vm_locked vm_locked)
@@ -1064,9 +1064,9 @@
/**
* Checks VM's messaging method support.
*/
-bool vm_supports_messaging_method(struct vm *vm, uint16_t msg_method)
+bool vm_supports_messaging_method(struct vm *vm, uint16_t messaging_method)
{
- return (vm->messaging_method & msg_method) != 0;
+ return (vm->messaging_method & messaging_method) != 0;
}
/**