On Fri, Aug 26 2022, Jason Gunthorpe <jgg@xxxxxxxxxx> wrote: > Only three of these are actually used, simplify to three inline functions, > and open code the if statement in vfio_pci_config.c. > > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > --- > drivers/vfio/pci/vfio_pci_config.c | 2 +- > drivers/vfio/pci/vfio_pci_intrs.c | 22 +++++++++++++++++----- > drivers/vfio/pci/vfio_pci_priv.h | 2 -- > 3 files changed, 18 insertions(+), 8 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>