[PATCH v3 7/7] virdnsmasq: Join dnsmasqCapsNewEmpty() and dnsmasqCapsNewFromBinary()

Andrea Bolognani abologna at redhat.com
Fri Jan 14 17:02:08 UTC 2022


On Wed, Jan 12, 2022 at 09:47:58AM +0100, Michal Privoznik wrote:
> After previous cleanups, there's just one caller of
> dnsmasqCapsNewEmpty() and it is dnsmasqCapsNewFromBinary().
> And the former is pretty short. Therefore, it is not necessary
> for the code to live in two separate functions. Dissolve the
> former in the latter.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/util/virdnsmasq.c | 16 +++-------------
>  1 file changed, 3 insertions(+), 13 deletions(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list