about summary refs log tree commit diff
path: root/src/core/devices/nm-device-macsec.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-07-15 08:31:24 +0200
committerMichael Biebl <biebl@debian.org>2025-07-15 08:31:24 +0200
commit85ae5f778e2146123028aeb34f662564537855b1 (patch)
treebae42b53b3b321ccb311ca71a7985b8452e6f0b7 /src/core/devices/nm-device-macsec.c
parent3db8545981e5c548f6c63c2bb63a6a534911dbe9 (diff)
parent582eb4472a0f3375042afb9026cbeb50e058a27d (diff)
Update upstream source from tag 'upstream/1.52.1'
Update to upstream version '1.52.1'
with Debian dir e8d19eaaa879d6acb8da947d29d330f548024fe0
Diffstat (limited to 'src/core/devices/nm-device-macsec.c')
-rw-r--r--src/core/devices/nm-device-macsec.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/devices/nm-device-macsec.c b/src/core/devices/nm-device-macsec.c
index 89a06720..2ff1eeb3 100644
--- a/src/core/devices/nm-device-macsec.c
+++ b/src/core/devices/nm-device-macsec.c
@@ -684,14 +684,6 @@ get_generic_capabilities(NMDevice *dev)
 /******************************************************************/
 
 static gboolean
-is_available(NMDevice *device, NMDeviceCheckDevAvailableFlags flags)
-{
-    if (!nm_device_parent_get_device(device))
-        return FALSE;
-    return NM_DEVICE_CLASS(nm_device_macsec_parent_class)->is_available(device, flags);
-}
-
-static gboolean
 create_and_realize(NMDevice              *device,
                    NMConnection          *connection,
                    NMDevice              *parent,
@@ -903,7 +895,6 @@ nm_device_macsec_class_init(NMDeviceMacsecClass *klass)
     device_class->deactivate               = deactivate;
     device_class->get_generic_capabilities = get_generic_capabilities;
     device_class->link_changed             = link_changed;
-    device_class->is_available             = is_available;
     device_class->parent_changed_notify    = parent_changed_notify;
     device_class->state_changed            = device_state_changed;
     device_class->get_configured_mtu       = nm_device_get_configured_mtu_wired_parent;