From 87a21ddc800b8f34ff60dbb74b690b4705df4e9d Mon Sep 17 00:00:00 2001 From: Mikel Astiz Date: Fri, 26 Apr 2013 08:16:59 +0200 Subject: [PATCH] input: Simplify code since UUID is known The UUID in this code path is fixed so trivially use it instead of using the provided probe parameter. --- profiles/input/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/input/manager.c b/profiles/input/manager.c index d30ba67d5..8bbf768ee 100644 --- a/profiles/input/manager.c +++ b/profiles/input/manager.c @@ -59,7 +59,7 @@ static int hid_device_probe(struct btd_profile *p, struct btd_device *device, GSList *uuids) { const char *path = device_get_path(device); - const sdp_record_t *rec = btd_device_get_record(device, uuids->data); + const sdp_record_t *rec = btd_device_get_record(device, HID_UUID); DBG("path %s", path); -- 2.47.3