summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-private.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-05-17 10:58:38 -0500
committerDan Winship <danw@gnome.org>2013-05-20 16:38:34 -0300
commitbe807819b053c67f2d704e1a8e562dcfa230e862 (patch)
treeeefd2034a373a360c0db415de72146e61d306514 /src/devices/nm-device-private.h
parent38459f5a0051040d73910deaa65be57167d384e8 (diff)
downloadNetworkManager-be807819b053c67f2d704e1a8e562dcfa230e862.tar.gz
core: clean up and simplify device capabilities handling
This is really, really old 2007-era code. Any NMDevice that gets created is already supported, so there's no reason to have every device set NM_DEVICE_CAP_NM_SUPPORTED. For those subclasses that only set that capability, we can remove the subclass method entirely. Next, it turns out that the "type capabilities" code wasn't used anywhere, so remove that too. Lastly, "cipsec" interfaces haven't been used on linux in about 5 years (they were created by the Cisco binary-only IPSec kernel module for Cisco VPNs long before vpnc and openswan came around) so we can remove that code too.
Diffstat (limited to 'src/devices/nm-device-private.h')
-rw-r--r--src/devices/nm-device-private.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h
index 538d2293ca..9e7d0d85e8 100644
--- a/src/devices/nm-device-private.h
+++ b/src/devices/nm-device-private.h
@@ -56,9 +56,6 @@ gboolean nm_device_ip_config_should_fail (NMDevice *self, gboolean ip6);
void nm_device_set_firmware_missing (NMDevice *self, gboolean missing);
-guint32 nm_device_get_capabilities (NMDevice *dev);
-guint32 nm_device_get_type_capabilities (NMDevice *dev);
-
void nm_device_activate_schedule_stage1_device_prepare (NMDevice *device);
void nm_device_activate_schedule_stage2_device_config (NMDevice *device);