summaryrefslogtreecommitdiff
path: root/libnm/nm-device-bond.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-device-bond.c')
-rw-r--r--libnm/nm-device-bond.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libnm/nm-device-bond.c b/libnm/nm-device-bond.c
index 0a9fae86a2..963348400b 100644
--- a/libnm/nm-device-bond.c
+++ b/libnm/nm-device-bond.c
@@ -27,7 +27,6 @@
#include "nm-utils.h"
#include "nm-device-bond.h"
-#include "nm-device-private.h"
#include "nm-object-private.h"
#include "nm-core-internal.h"
@@ -137,8 +136,6 @@ nm_device_bond_init (NMDeviceBond *device)
{
NMDeviceBondPrivate *priv = NM_DEVICE_BOND_GET_PRIVATE (device);
- _nm_device_set_device_type (NM_DEVICE (device), NM_DEVICE_TYPE_BOND);
-
priv->slaves = g_ptr_array_new ();
}
@@ -213,8 +210,6 @@ nm_device_bond_class_init (NMDeviceBondClass *bond_class)
g_type_class_add_private (bond_class, sizeof (NMDeviceBondPrivate));
- _nm_object_class_add_interface (nm_object_class, NM_DBUS_INTERFACE_DEVICE_BOND);
-
/* virtual methods */
object_class->dispose = dispose;
object_class->finalize = finalize;