Re: [PATCH 15/32] udevProcessFloppy; remove unnecessary allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]