summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-11-08 22:41:41 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-11-08 22:41:41 +0200
commita01801fd21056ef6f7fffc6a205b6c2b9e99899f (patch)
tree3897ba2e941f6b7f5ea8694833834e70d3fd4d55 /src/device.c
parent8c9833157e77514d5aacbb23752d30acd97d20f9 (diff)
Remove debug prints that were added by mistake in the previous commit
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/device.c b/src/device.c
index 569f6128..cc1ede20 100644
--- a/src/device.c
+++ b/src/device.c
@@ -639,13 +639,8 @@ static GSList *device_match_pattern(struct btd_device *device,
if (!rec)
continue;
- if (record_has_uuid(rec, match_uuid)) {
- char bdaddr[18];
- ba2str(&device->bdaddr, bdaddr);
- debug("Device %s record for profile %s matched uuid %s",
- bdaddr, profile_uuid, match_uuid);
+ if (record_has_uuid(rec, match_uuid))
uuids = g_slist_append(uuids, profile_uuid);
- }
}
return uuids;
@@ -666,18 +661,13 @@ static GSList *device_match_driver(struct btd_device *device,
(GCompareFunc) strcasecmp);
if (match) {
uuids = g_slist_append(uuids, match->data);
- debug("Profile UUID %s matched driver %s", *uuid,
- driver->name);
continue;
}
/* match pattern driver */
match = device_match_pattern(device, *uuid, profiles);
- for (; match; match = match->next) {
- debug("Non-profile UUID %s matched driver %s", *uuid,
- driver->name);
+ for (; match; match = match->next)
uuids = g_slist_append(uuids, match->data);
- }
}
return uuids;