[libvirt] [PATCH 15/32] udevProcessFloppy; remove unnecessary allocation
Peter Krempa
pkrempa at redhat.com
Mon Jun 6 11:18:03 UTC 2016
On Mon, Jun 06, 2016 at 11:01:52 +0200, Ján Tomko wrote:
> Use udevHasDeviceProperty instead of udevGetStringProperty.
> We do not need to copy the string since we do not need it.
>
> Also add braces around the if body, since the change made
> syntax check complain.
> ---
> src/node_device/node_device_udev.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
ACK
More information about the libvir-list
mailing list