summaryrefslogtreecommitdiff
path: root/libnm/nm-device-macvlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-device-macvlan.c')
-rw-r--r--libnm/nm-device-macvlan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libnm/nm-device-macvlan.c b/libnm/nm-device-macvlan.c
index a370ed1e67..e647721988 100644
--- a/libnm/nm-device-macvlan.c
+++ b/libnm/nm-device-macvlan.c
@@ -28,7 +28,6 @@
#include "nm-utils.h"
#include "nm-device-macvlan.h"
-#include "nm-device-private.h"
#include "nm-object-private.h"
G_DEFINE_TYPE (NMDeviceMacvlan, nm_device_macvlan, NM_TYPE_DEVICE)
@@ -186,7 +185,6 @@ get_setting_type (NMDevice *device)
static void
nm_device_macvlan_init (NMDeviceMacvlan *device)
{
- _nm_device_set_device_type (NM_DEVICE (device), NM_DEVICE_TYPE_MACVLAN);
}
static void
@@ -260,8 +258,6 @@ nm_device_macvlan_class_init (NMDeviceMacvlanClass *gre_class)
g_type_class_add_private (gre_class, sizeof (NMDeviceMacvlanPrivate));
- _nm_object_class_add_interface (nm_object_class, NM_DBUS_INTERFACE_DEVICE_MACVLAN);
-
/* virtual methods */
object_class->finalize = finalize;
object_class->get_property = get_property;