From f413c15a8cb7a31cd2623fcab16d0ea8b6133f2d Mon Sep 17 00:00:00 2001 From: Mikel Astiz Date: Fri, 26 Apr 2013 08:17:04 +0200 Subject: [PATCH] input: Remove unused UUID field Trivially remove the field because it's actually not being used. --- profiles/input/device.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/profiles/input/device.c b/profiles/input/device.c index d191967dd..0688a02a7 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; -- 2.47.3