File lm_sensors-r5147-ignore-missing-device-link.dif of Package libsensors3

Index: lib/sysfs.c
===================================================================
--- lib/sysfs.c (revision 5086)
+++ lib/sysfs.c (revision 5147)
@@ -183,8 +183,6 @@
 	dlist_for_each_data(clsdevs, clsdev, struct sysfs_class_device) {
 		struct sysfs_device *dev;
-		if (!(dev = sysfs_get_classdev_device(clsdev))) {
-			ret = -SENSORS_ERR_PROC;
-			goto exit;
-		}
+		if (!(dev = sysfs_get_classdev_device(clsdev)))
+			continue;
 		if ((ret = sensors_read_one_sysfs_chip(dev)))
 			goto exit;
openSUSE Build Service is sponsored by