On a Tuesday in 2020, Laine Stump wrote:
>These started with a couple small cleanups to functions I was going to
>change the API for, but then I decided not to change the API, and just
>didn't want to waste the effort spent cleaning them up.
>
Thank you.
>Laine Stump (9):
> util: simplify virHostdevPCISysfsPath()
> util: simplify virPCIFile() and its callers
> util: simplify virPCIDriverDir() and its callers
> util: simplify virPCIProbeStubDriver()
> util: avoid manual VIR_FREE of a g_autofree pointer in virPCIGetName()
> util: use more g_autofree in virpci.c
> util: remove unneeded cleanup:/ret in virpci.c
> util: don't use virPCIGetSysfsFile()
> util: remove unused function virPCIGetSysfsFile()
>
> src/hypervisor/virhostdev.c | 10 +--
> src/libvirt_private.syms | 1 -
> src/util/virnetdev.c | 6 +-
> src/util/virpci.c | 146 ++++++++++++------------------------
> src/util/virpci.h | 4 -
> 5 files changed, 53 insertions(+), 114 deletions(-)
Beautiful.
Jano
>
>--
>2.26.2
>