Re: [PATCH 0/9] several small cleanups in virpci.c et. al.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux