commit | c444a2be22144d23dae10821868e6073d3e3ef29 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Jun 17 14:43:33 2016 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Jun 17 14:43:33 2016 -0500 |
tree | 4b13445ff37a01cd194828776a9e204d4d97ac89 | |
parent | 1e70cdd6e654a66b4f6296a92cd0f7c265a02429 [diff] |
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>