chiark / gitweb /
[PATCH] fix complier warning in namedev.c
authorgreg@kroah.com <greg@kroah.com>
Tue, 23 Dec 2003 06:45:43 +0000 (22:45 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:10 +0000 (21:13 -0700)
namedev.c

index d879fd5..c77b0f8 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;