PCI/MSI: Remove redundant msi_check() callback
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Nov 2022 13:55:14 +0000 (14:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:22 +0000 (15:15 +0100)
commit9c03b2589da2b2b259a960f2a325731f6b38d115
treea4667a47190c06bc81c383a3a2df8ee2fb5f54e8
parent4644d22eb673f173252610a93aaaba4c2bff7b41
PCI/MSI: Remove redundant msi_check() callback

All these sanity checks are now done _before_ any allocation work
happens. No point in doing it twice.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20221111122015.749446904@linutronix.de
drivers/pci/msi/irqdomain.c