summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2022-01-21 14:51:50 -0600
committerMichal Simek <michal.simek@xilinx.com>2022-01-24 13:11:34 +0100
commitfcc619621df50f63b641b18536f908b05d6782a4 (patch)
treeea39a20c1a0917d742d5197fae38abfae94f58b4 /arch/microblaze/include/asm
parent19d448a04e00388bdb039cdd46a23b028f604eb4 (diff)
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/asm')
-rw-r--r--arch/microblaze/include/asm/pci.h4
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