[PATCH BlueZ v3 08/27] input: Remove unused UUID field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx>

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 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;
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux