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 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;
 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;
        int retval = 0;
        struct perm_device *perm;
        char *pos;