summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-macvlan.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-01-02 15:53:18 +0100
committerThomas Haller <thaller@redhat.com>2017-01-04 14:18:01 +0100
commit0eb4b404f25f711d27171064b993974b220a4b94 (patch)
tree2bb4630fb1172285118104a44756fccaabf5710e /src/devices/nm-device-macvlan.c
parent0bb84d1b854a8e370d433d37cdb3d708ed477d03 (diff)
downloadNetworkManager-0eb4b404f25f711d27171064b993974b220a4b94.tar.gz
device: have realize_start_notify() call link_changed()
Most implementations of realize_start_notify() do the same for link_changed(). Let NMDevice's base implementation of realize_start_notify() call link_changed() -- which by default does notthing. This allows subclasses to only overwrite link_changed().
Diffstat (limited to 'src/devices/nm-device-macvlan.c')
-rw-r--r--src/devices/nm-device-macvlan.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/devices/nm-device-macvlan.c b/src/devices/nm-device-macvlan.c
index 917c8dcbf4..5ec8bda078 100644
--- a/src/devices/nm-device-macvlan.c
+++ b/src/devices/nm-device-macvlan.c
@@ -530,14 +530,6 @@ ip4_config_pre_commit (NMDevice *device, NMIP4Config *config)
}
}
-static void
-realize_start_notify (NMDevice *device, const NMPlatformLink *plink)
-{
- NM_DEVICE_CLASS (nm_device_macvlan_parent_class)->realize_start_notify (device, plink);
-
- update_properties (device);
-}
-
/*****************************************************************************/
static void
@@ -622,7 +614,6 @@ nm_device_macvlan_class_init (NMDeviceMacvlanClass *klass)
device_class->is_available = is_available;
device_class->link_changed = link_changed;
device_class->notify_new_device_added = notify_new_device_added;
- device_class->realize_start_notify = realize_start_notify;
device_class->update_connection = update_connection;
obj_properties[PROP_PARENT] =