summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/main.c b/main.c
index 4f27caf0c24..7e9ed4641e9 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2013 Kay Sievers
* Copyright (C) 2013 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ * Copyright (C) 2013 Daniel Mack <daniel@zonque.org>
* Copyright (C) 2013 Linux Foundation
*
* kdbus is free software; you can redistribute it and/or modify it under
@@ -9,8 +10,6 @@
* your option) any later version.
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
#include <linux/module.h>
#include <linux/device.h>
#include <linux/idr.h>
@@ -25,22 +24,6 @@
#include "internal.h"
#include "namespace.h"
-/* kdbus sysfs subsystem */
-struct bus_type kdbus_subsys = {
- .name = "kdbus",
-};
-
-/* kdbus initial namespace */
-struct kdbus_ns *kdbus_ns_init;
-
-/* map of majors to namespaces */
-DEFINE_IDR(kdbus_ns_major_idr);
-
-void kdbus_dev_release(struct device *dev)
-{
- kfree(dev);
-}
-
static int __init kdbus_init(void)
{
int ret;
@@ -60,7 +43,7 @@ static int __init kdbus_init(void)
return ret;
}
- pr_info("initialized\n");
+ pr_info("kdbus initialized\n");
return 0;
}