A variable without use is pointless. Remove it, since we have no use for it. --- src/node_device/node_device_udev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c index f443d58..59bc452 100644 --- a/src/node_device/node_device_udev.c +++ b/src/node_device/node_device_udev.c @@ -1576,7 +1576,6 @@ udevGetDMIData(virNodeDevCapDataPtr data) { struct udev *udev = NULL; struct udev_device *device = NULL; - char *tmp = NULL; udev = udev_monitor_get_udev(DRV_STATE_UDEV_MONITOR(driver)); @@ -1637,7 +1636,6 @@ udevGetDMIData(virNodeDevCapDataPtr data) } out: - VIR_FREE(tmp); if (device != NULL) udev_device_unref(device); return; -- 2.7.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list