ethernet_interface: Remove optional signal emission
We don't ever need to turn this off anymore, so we can simplify creation
arguments.
Change-Id: Idb1bde35041f16d409753ff661bfb248cfd4591e
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/ethernet_interface.hpp b/src/ethernet_interface.hpp
index f29efa2..2ef2f95 100644
--- a/src/ethernet_interface.hpp
+++ b/src/ethernet_interface.hpp
@@ -77,14 +77,11 @@
* @param[in] objRoot - Path to attach at.
* @param[in] config - The parsed configuation file.
* @param[in] vlan - The id of the vlan if configured
- * @param[in] emitSignal - true if the object added signal needs to be
- * send.
* @param[in] enabled - Determine if systemd-networkd is managing this link
*/
EthernetInterface(sdbusplus::bus_t& bus, Manager& manager,
const InterfaceInfo& info, std::string_view objRoot,
- const config::Parser& config, bool emitSignal,
- bool enabled);
+ const config::Parser& config, bool enabled);
/** @brief Network Manager object. */
Manager& manager;
@@ -234,8 +231,7 @@
struct VlanProperties : VlanIfaces
{
VlanProperties(sdbusplus::bus_t& bus, stdplus::const_zstring objPath,
- const InterfaceInfo& info, EthernetInterface& eth,
- bool emitSignal = true);
+ const InterfaceInfo& info, EthernetInterface& eth);
void delete_() override;
unsigned parentIdx;
EthernetInterface& eth;
@@ -248,8 +244,7 @@
private:
EthernetInterface(sdbusplus::bus_t& bus, Manager& manager,
const InterfaceInfo& info, std::string&& objPath,
- const config::Parser& config, bool emitSignal,
- bool enabled);
+ const config::Parser& config, bool enabled);
/** @brief Determines if the address is manually assigned
* @param[in] origin - The origin entry of the IP::Address