diff options
| author | 2022-08-26 16:34:03 -0300 | |
|---|---|---|
| committer | 2022-09-01 15:29:11 -0600 | |
| commit | c462a8c5d98877b76cf229d3d605d2a865aa9c9e (patch) | |
| tree | 2bc33814cd0943c9d41e1773741954aea7d58493 /include/linux/debugobjects.h | |
| parent | vfio/pci: Rename vfio_pci_register_dev_region() (diff) | |
vfio/pci: Simplify the is_intx/msi/msix/etc defines
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@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/3-v2-1bd95d72f298+e0e-vfio_pci_priv_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
