Add modernize-redundant-void-arg
Enable this check and fix the failures.
Change-Id: I89b13daf1161be40564367562bb9c8c0c459e1d0
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/Utils.cpp b/src/Utils.cpp
index f109b4d..ca125db 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -282,7 +282,7 @@
return true;
}
-bool isPowerOn(void)
+bool isPowerOn()
{
if (!powerMatch)
{
@@ -291,7 +291,7 @@
return powerStatusOn;
}
-bool hasBiosPost(void)
+bool hasBiosPost()
{
if (!postMatch)
{
@@ -300,7 +300,7 @@
return biosHasPost;
}
-bool isChassisOn(void)
+bool isChassisOn()
{
if (!chassisMatch)
{