Diff between 2e8d257e9dc2c172195a9352188e2ccc1897923b and f413c15a8cb7a31cd2623fcab16d0ea8b6133f2d
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/device.c | +0 | -5 | modified |
Full Patch
diff --git a/profiles/input/device.c b/profiles/input/device.c
index d191967..0688a02 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -66,7 +66,6 @@ enum reconnect_mode_t {
struct input_device {
struct btd_device *device;
char *path;
- char *uuid;
bdaddr_t src;
bdaddr_t dst;
uint32_t handle;
@@ -139,8 +138,6 @@ static void input_device_free(struct input_device *idev)
if (idev->reconnect_timer > 0)
g_source_remove(idev->reconnect_timer);
- g_free(idev->uuid);
-
g_free(idev);
}
@@ -885,8 +882,6 @@ int input_device_register(struct btd_device *device,
return -EINVAL;
}
- idev->uuid = g_strdup(uuid);
-
devices = g_slist_append(devices, idev);
return 0;