trivial: stop creating sysfs-path metadata

This isn't needed anymore, it was only for legacy thunderbolt3 controllers
that didn't support native enumeration.
This commit is contained in:
Mario Limonciello 2020-09-10 11:53:27 -05:00 committed by Mario Limonciello
parent 64f3857751
commit 4550cf51f8

View File

@ -444,7 +444,6 @@ fu_thunderbolt_device_setup (FuDevice *device, GError **error)
g_autoptr(GError) error_version = NULL;
self->devpath = g_strdup (fu_udev_device_get_sysfs_path (FU_UDEV_DEVICE (device)));
fu_device_set_metadata (device, "sysfs-path", self->devpath);
/* try to read the version */
if (!fu_thunderbolt_device_get_version (self, &error_version)) {