PCI: hv: Remove unused hv_set_msi_entry_from_desc()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 17 Mar 2022 08:51:30 +0000 (16:51 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 31 Mar 2022 15:12:59 +0000 (10:12 -0500)
commit22ef7ee3eeb2a41e07f611754ab9a2663232fedf
treeb5e23d0445b587ddf8786778f5678f7f7d55e89e
parent148a650476955705482dd57e7ffcf105d8b65440
PCI: hv: Remove unused hv_set_msi_entry_from_desc()

Fix the following build error:

  drivers/pci/controller/pci-hyperv.c:769:13: error: ‘hv_set_msi_entry_from_desc’ defined but not used [-Werror=unused-function]
    769 | static void hv_set_msi_entry_from_desc(union hv_msi_entry *msi_entry,

The arm64 implementation of hv_set_msi_entry_from_desc() is not used after
d06957d7a692 ("PCI: hv: Avoid the retarget interrupt hypercall in
irq_unmask() on ARM64"), so remove it.

Fixes: d06957d7a692 ("PCI: hv: Avoid the retarget interrupt hypercall in irq_unmask() on ARM64")
Link: https://lore.kernel.org/r/20220317085130.36388-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Boqun Feng <boqun.feng@gmail.com>
drivers/pci/controller/pci-hyperv.c