Skip to content

Commit 9a212aa

Browse files
committed
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()
2 parents 02d4f8a + 22ef7ee commit 9a212aa

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/pci/controller/pci-hyperv.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,6 @@ static unsigned int hv_msi_get_int_vector(struct irq_data *irqd)
766766
return irqd->parent_data->hwirq;
767767
}
768768

769-
static void hv_set_msi_entry_from_desc(union hv_msi_entry *msi_entry,
770-
struct msi_desc *msi_desc)
771-
{
772-
msi_entry->address = ((u64)msi_desc->msg.address_hi << 32) |
773-
msi_desc->msg.address_lo;
774-
msi_entry->data = msi_desc->msg.data;
775-
}
776-
777769
/*
778770
* @nr_bm_irqs: Indicates the number of IRQs that were allocated from
779771
* the bitmap.

0 commit comments

Comments
 (0)