install: small refactor to combine two function calls into one function
authorRuixin Bao <rubao@redhat.com>
Sun, 26 Aug 2018 20:00:03 +0000 (20:00 +0000)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Tue, 24 Nov 2020 18:01:43 +0000 (19:01 +0100)
commiteacb511fc0d1e3c5857cb041ad162fb78b4381cc
treee59ef3496797b264c946f34b63c2450da006a537
parent4c41ad9418058aefb2d2732b0b65da9c7cdf5151
install: small refactor to combine two function calls into one function

Combine consecutive function calls of install_info_discover and
install_info_may_process into one short helper function.

(cherry picked from commit 1e475a0ab4c46eb07f3df3fb24f5a7c3e1fa20b1)

Related: #1812972
src/shared/install.c