diff options
author | Thomas Haller <thaller@redhat.com> | 2015-05-04 15:55:12 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2015-05-26 15:33:58 +0200 |
commit | 5adb4d2e4e647cae953aada0ae8cdfe92bdd6d48 (patch) | |
tree | cd4d6f1ca85b3e8de72ca79381d4d78e2440004d /src/platform/nm-platform.h | |
parent | 4a4f703c94787b39f9df4ca10e329b7ccff5f0fc (diff) | |
download | NetworkManager-jk/master-test.tar.gz |
platform: merge setup_devices() function into constructed()jk/master-test
We already populate the netlink cache in constructed(). No need
to wait with udev devices until nm_platform_query_devices(). Just
do it right away.
Add a hack to keep 'lo' default-unmanaged. Now that we load
udev devices earlier, we end up clearing the default-unmanged
flag on 'lo', which has bad consequences.
(cherry picked from commit f447c7edad362e6f63a91eb3550290f64f052eff)
Diffstat (limited to 'src/platform/nm-platform.h')
-rw-r--r-- | src/platform/nm-platform.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h index 08d032a6c1..f34ae811b2 100644 --- a/src/platform/nm-platform.h +++ b/src/platform/nm-platform.h @@ -368,8 +368,6 @@ struct _NMPlatform { typedef struct { GObjectClass parent; - void (*setup_devices) (NMPlatform *); - gboolean (*sysctl_set) (NMPlatform *, const char *path, const char *value); char * (*sysctl_get) (NMPlatform *, const char *path); |