]> xenbits.xensource.com Git - libvirt.git/commit
virdnsmasq: Drop noRefresh member from from struct _dnsmasqCaps
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 17 Jan 2022 12:20:32 +0000 (13:20 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Jan 2022 14:19:47 +0000 (15:19 +0100)
commitf947b2343a86912f8db1e5fa2049a1cca38f53f5
treefb6fa363263982a3e793e6d5b6111e6d33897f0d
parent0a7224a1471e294175a9e1295ba846580f6c54e7
virdnsmasq: Drop noRefresh member from from struct _dnsmasqCaps

The noRefresh member of _dnsmasqCaps struct is set only after it
was checked for and is never checked again. This is needless and
the member can be removed. There is no way that
dnsmasqCapsRefreshInternal() can be called after
dnsmasqCapsSetFromBuffer().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/util/virdnsmasq.c