[libvirt] [PATCH 30/32] node_device_udev: remove unnecessary ret variables

Peter Krempa pkrempa at redhat.com
Mon Jun 6 12:41:33 UTC 2016


On Mon, Jun 06, 2016 at 11:02:07 +0200, Ján Tomko wrote:
> Remove ret variables and labels from functions where there is no cleanup
> to be done.
> ---
>  src/node_device/node_device_udev.c | 108 ++++++++++++++-----------------------
>  1 file changed, 39 insertions(+), 69 deletions(-)
> 
> diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c
> index aa4c36e..88a333e 100644
> --- a/src/node_device/node_device_udev.c
> +++ b/src/node_device/node_device_udev.c

udevProcessDisk needs the same treatment. ACK with that added.




More information about the libvir-list mailing list