From: greg@kroah.com Date: Tue, 23 Dec 2003 06:45:43 +0000 (-0800) Subject: [PATCH] fix complier warning in namedev.c X-Git-Tag: 010~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=ca593541e63b6accd1f8c5f5592ada4b85930576;ds=sidebyside [PATCH] fix complier warning in namedev.c --- diff --git a/namedev.c b/namedev.c index d879fd559..c77b0f8ef 100644 --- 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;