diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2022-01-21 21:51:50 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-01-24 13:11:34 +0100 |
commit | fcc619621df50f63b641b18536f908b05d6782a4 (patch) | |
tree | ea39a20c1a0917d742d5197fae38abfae94f58b4 /arch/microblaze/include | |
parent | microblaze: add const to of_device_id (diff) | |
download | linux-fcc619621df50f63b641b18536f908b05d6782a4.tar.xz linux-fcc619621df50f63b641b18536f908b05d6782a4.zip |
microblaze/PCI: Remove pci_phys_mem_access_prot() dead code
pci_phys_mem_access_prot() is defined but never used. Remove it.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20220121205150.1151607-1-helgaas@kernel.org
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 7c4dc5d85f53..d90528064604 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h @@ -61,10 +61,6 @@ extern int pci_mmap_legacy_page_range(struct pci_bus *bus, extern void pcibios_resource_survey(void); struct file; -extern pgprot_t pci_phys_mem_access_prot(struct file *file, - unsigned long pfn, - unsigned long size, - pgprot_t prot); /* This part of code was originally in xilinx-pci.h */ #ifdef CONFIG_PCI_XILINX |