chiark / gitweb /
[PATCH] small cleanup udev-remove.c
[elogind.git] / namedev.c
index d879fd55902eb55259fa04e162c180ad9b0e63c4..c77b0f8ef43a598d46b4437fef5e0e991ccde7d3 100644 (file)
--- a/namedev.c
+++ b/namedev.c
@@ -714,7 +714,6 @@ exit:
 int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *udev)
 {
        struct sysfs_device *sysfs_device = NULL;
-       struct sysfs_class_device *class_dev_parent = NULL;
        int retval = 0;
        struct perm_device *perm;
        char *pos;