about summary refs log tree commit diff
path: root/src/core/devices/nm-device-macvlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/devices/nm-device-macvlan.c')
-rw-r--r--src/core/devices/nm-device-macvlan.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/devices/nm-device-macvlan.c b/src/core/devices/nm-device-macvlan.c
index 9501e8f1..c5bcc91a 100644
--- a/src/core/devices/nm-device-macvlan.c
+++ b/src/core/devices/nm-device-macvlan.c
@@ -271,16 +271,6 @@ get_generic_capabilities(NMDevice *device)
 /*****************************************************************************/
 
 static gboolean
-is_available(NMDevice *device, NMDeviceCheckDevAvailableFlags flags)
-{
-    if (!nm_device_parent_get_device(device))
-        return FALSE;
-    return NM_DEVICE_CLASS(nm_device_macvlan_parent_class)->is_available(device, flags);
-}
-
-/*****************************************************************************/
-
-static gboolean
 check_connection_compatible(NMDevice     *device,
                             NMConnection *connection,
                             gboolean      check_properties,
@@ -508,7 +498,6 @@ nm_device_macvlan_class_init(NMDeviceMacvlanClass *klass)
     device_class->create_and_realize                     = create_and_realize;
     device_class->get_generic_capabilities               = get_generic_capabilities;
     device_class->get_configured_mtu    = nm_device_get_configured_mtu_wired_parent;
-    device_class->is_available          = is_available;
     device_class->link_changed          = link_changed;
     device_class->parent_changed_notify = parent_changed_notify;
     device_class->update_connection     = update_connection;