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/DeviceMgmt.hpp b/src/DeviceMgmt.hpp
index 5e469de..84ad8a0 100644
--- a/src/DeviceMgmt.hpp
+++ b/src/DeviceMgmt.hpp
@@ -34,8 +34,8 @@
uint64_t bus;
uint64_t address;
- bool devicePresent(void) const;
- bool deviceStatic(void) const;
+ bool devicePresent() const;
+ bool deviceStatic() const;
};
std::optional<I2CDeviceParams>
@@ -51,8 +51,8 @@
private:
I2CDeviceParams params;
- int create(void) const;
- int destroy(void) const;
+ int create() const;
+ int destroy() const;
};
// HACK: this declaration "should" live in Utils.hpp, but that leads to a