summaryrefslogtreecommitdiffstats
path: root/input/input-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/input-service.c')
-rw-r--r--input/input-service.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/input/input-service.c b/input/input-service.c
index 3c346033..946d9cc1 100644
--- a/input/input-service.c
+++ b/input/input-service.c
@@ -870,11 +870,9 @@ static const DBusObjectPathVTable manager_table = {
int input_dbus_init(void)
{
struct input_manager *mgr;
-#if 0
DBusMessage *msg, *reply;
DBusError derr;
const char *adapter;
-#endif
connection = init_dbus(NULL, NULL, NULL);
if (!connection)
@@ -885,7 +883,6 @@ int input_dbus_init(void)
mgr = malloc(sizeof(struct input_manager));
memset(mgr, 0, sizeof(struct input_manager));
-#if 0
/* Get the default adapter path */
msg = dbus_message_new_method_call("org.bluez", "/org/bluez",
"org.bluez.Manager", "DefaultAdapter");
@@ -940,7 +937,6 @@ int input_dbus_init(void)
dbus_message_unref(reply);
info("Default adapter: %s (%s)", mgr->adapter_path, mgr->adapter);
-#endif
/* Fallback to catch invalid device path */
if (!dbus_connection_register_fallback(connection, INPUT_PATH,