]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virdnsmasq: Drop !caps check from dnsmasqCapsRefreshInternal()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 17 Jan 2022 12:20:50 +0000 (13:20 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Jan 2022 14:19:47 +0000 (15:19 +0100)
commitce6bb27649a061a7e83610167ba93c83d98fe337
tree31c484a0e0d99e8cbf8fb34cf34e1f2e91dea0de
parentf947b2343a86912f8db1e5fa2049a1cca38f53f5
virdnsmasq: Drop !caps check from dnsmasqCapsRefreshInternal()

There is no way that the dnsmasqCapsRefreshInternal() function
can be called with @caps == NULL. Therefore, drop the if() that
checks for that.

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