diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-06 13:13:12 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-06 13:13:12 +0000 |
commit | ac3d6b6a176fb397e6c62be71cb99fa46c739c31 (patch) | |
tree | e3a166fdcc86956fefebaef4da4fb6bd73ae3026 /hcid/adapter.c | |
parent | 5a2610e2ba6c5881b71a931623a56480670fbed8 (diff) |
Remove unused code
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r-- | hcid/adapter.c | 2 |
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); |