]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
microblaze/PCI: Remove useless __pci_mmap_set_pgprot()
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jun 2016 19:43:33 +0000 (14:43 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jun 2016 19:43:33 +0000 (14:43 -0500)
commitc444a2be22144d23dae10821868e6073d3e3ef29
tree4b13445ff37a01cd194828776a9e204d4d97ac89
parent1e70cdd6e654a66b4f6296a92cd0f7c265a02429
microblaze/PCI: Remove useless __pci_mmap_set_pgprot()

The microblaze __pci_mmap_set_pgprot() was apparently copied from powerpc,
where it computes either an uncacheable pgprot_t or a write-combining one.
But on microblaze, we always use the regular uncacheable pgprot_t.

Remove the useless code in __pci_mmap_set_pgprot() and inline it at the
only call site.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
arch/microblaze/pci/pci-common.c