Diff between 51b0e53c52fad16e606721024637d21bda415169 and d35a363e2c008d050b92cfb50dee21d382438600

Changed Files

File Additions Deletions Status
src/device.c +0 -12 modified
src/device.h +0 -1 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index e94b222..71bfea5 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3475,18 +3475,6 @@ void btd_device_unref(struct btd_device *device)
 	g_free(path);
 }
 
-void device_set_class(struct btd_device *device, uint32_t value)
-{
-	const char *icon = class_to_icon(value);
-
-	g_dbus_emit_property_changed(btd_get_dbus_connection(), device->path,
-						DEVICE_INTERFACE, "Class");
-
-	if (icon)
-		g_dbus_emit_property_changed(btd_get_dbus_connection(),
-				device->path, DEVICE_INTERFACE, "Icon");
-}
-
 int device_get_appearance(struct btd_device *device, uint16_t *value)
 {
 	uint16_t app;
diff --git a/src/device.h b/src/device.h
index d23f40d..46cecb4 100644
--- a/src/device.h
+++ b/src/device.h
@@ -102,7 +102,6 @@ guint device_add_disconnect_watch(struct btd_device *device,
 				disconnect_watch watch, void *user_data,
 				GDestroyNotify destroy);
 void device_remove_disconnect_watch(struct btd_device *device, guint id);
-void device_set_class(struct btd_device *device, uint32_t value);
 int device_get_appearance(struct btd_device *device, uint16_t *value);
 void device_set_appearance(struct btd_device *device, uint16_t value);