diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c index 68509f41e17d0bfbc1426c3ac149a8e11cc63d46..eee44c47f8b4b7798fe4706998d7d7c9e9f39412 100644 --- a/src/node_device/node_device_udev.c +++ b/src/node_device/node_device_udev.c @@ -1,7 +1,7 @@ /* * node_device_udev.c: node device enumeration - libudev implementation * - * Copyright (C) 2009 Red Hat + * Copyright (C) 2009-2010 Red Hat * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -1337,7 +1337,6 @@ static int udevEnumerateDevices(struct udev *udev) { struct udev_enumerate *udev_enumerate = NULL; struct udev_list_entry *list_entry = NULL; - const char *name = NULL; int ret = 0; udev_enumerate = udev_enumerate_new(udev); @@ -1352,7 +1351,6 @@ static int udevEnumerateDevices(struct udev *udev) udev_enumerate_get_list_entry(udev_enumerate)) { udevProcessDeviceListEntry(udev, list_entry); - name = udev_list_entry_get_name(list_entry); } out: