summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r--hcid/adapter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 82b0e3f7..c691b204 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -2316,14 +2316,12 @@ struct device *adapter_create_device(DBusConnection *conn,
struct adapter *adapter, const char *address)
{
struct device *device;
- char path[MAX_PATH_LENGTH];
device = device_create(conn, adapter, address, NULL);
if (!device)
return NULL;
device->temporary = TRUE;
- snprintf(path, MAX_PATH_LENGTH, "/hci%d", adapter->dev_id);
adapter->devices = g_slist_append(adapter->devices, device);