summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hcid/device.c b/hcid/device.c
index 5c7584f2..db21096d 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -1206,13 +1206,12 @@ void device_probe_drivers(struct device *device)
{
GSList *list;
const char **uuid;
- struct btd_device_driver *driver;
int err;
debug("Probe drivers for %s", device->path);
for (list = drivers; list; list = list->next) {
- driver = (struct btd_device_driver *) list->data;
+ struct btd_device_driver *driver = list->data;
gboolean do_probe = FALSE;
for (uuid = driver->uuids; *uuid; uuid++) {