diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-04-02 19:54:52 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-04-02 19:54:52 +0200 |
commit | 9a212aaf95369d56f811b60a1ebdfa7e6b0ca030 (patch) | |
tree | ed86a7cb12e1b7d916d502b2f8c06a77ebd5e891 /drivers/pci | |
parent | Merge tag 'tag-chrome-platform-for-v5.18' of git://git.kernel.org/pub/scm/lin... (diff) | |
parent | PCI: hv: Remove unused hv_set_msi_entry_from_desc() (diff) | |
download | linux-9a212aaf95369d56f811b60a1ebdfa7e6b0ca030.tar.xz linux-9a212aaf95369d56f811b60a1ebdfa7e6b0ca030.zip |
Merge tag 'pci-v5.18-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull pci fix from Bjorn Helgaas:
- Fix Hyper-V "defined but not used" build issue added during merge
window (YueHaibing)
* tag 'pci-v5.18-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI: hv: Remove unused hv_set_msi_entry_from_desc()
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/controller/pci-hyperv.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index df84d221e3de..558b35aba610 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -766,14 +766,6 @@ static unsigned int hv_msi_get_int_vector(struct irq_data *irqd) return irqd->parent_data->hwirq; } -static void hv_set_msi_entry_from_desc(union hv_msi_entry *msi_entry, - struct msi_desc *msi_desc) -{ - msi_entry->address = ((u64)msi_desc->msg.address_hi << 32) | - msi_desc->msg.address_lo; - msi_entry->data = msi_desc->msg.data; -} - /* * @nr_bm_irqs: Indicates the number of IRQs that were allocated from * the bitmap. |