summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 18:37:09 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 18:37:09 +0000
commitb5514e6c7f0258da455bbde02482fbcdb29d4442 (patch)
tree5e3fceee9da373a47ecc9d3c13f60c2fddee2d3f /network
parent5442ba4d63b8f9548e140a47f63046c11819a972 (diff)
Register service and UUIDs in one step
Diffstat (limited to 'network')
-rw-r--r--network/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/network/main.c b/network/main.c
index 54bdf3d6..c84ba59b 100644
--- a/network/main.c
+++ b/network/main.c
@@ -180,17 +180,13 @@ static int network_init(void)
return -EIO;
}
- register_service("network");
-
- register_uuids("network", uuids);
+ register_service("network", uuids);
return 0;
}
static void network_exit(void)
{
- unregister_uuids("network");
-
unregister_service("network");
network_manager_exit();