summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-09-28 12:32:31 +0200
committerTom Gundersen <teg@jklm.no>2016-11-13 01:02:46 +0100
commit7d342c03322ee1ffb97fd608ce697ec911f7815a (patch)
tree1f5f6bb7200174a6762cd01b8a020ec2c5a13822 /src/network/networkd-network.c
parent1f8c78a1bab2e06a462894fa89d842ffc313832d (diff)
networkd: network - apply() does not need to take the manager object
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 0dc00e874d..670d583e37 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -368,10 +368,9 @@ int network_get(Manager *manager, struct udev_device *device,
return -ENOENT;
}
-int network_apply(Manager *manager, Network *network, Link *link) {
+int network_apply(Network *network, Link *link) {
int r;
- assert(manager);
assert(network);
assert(link);