ia64: Remove redundant checks for WC in pci_mmap_page_range()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 7 Apr 2017 10:01:00 +0000 (12:01 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Apr 2017 13:47:47 +0000 (08:47 -0500)
commitfcdb10d6b179fde41ca94d032afda8f4ed796b8e
treec298e32733f546d057fb4af9c2c36736ea86b8fc
parent61eee41ae135517392d05cbf1177523a02f12727
ia64: Remove redundant checks for WC in pci_mmap_page_range()

For a PCI MMIO BAR, phys_mem_access_prot() should always return UC or WC.
And while a mixture of cached and uncached mappings is forbidden, we were
already mixing WC and UC, which is OK. Just do as we're asked.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Tested-by: Tony Luck <tony.luck@intel.com>
arch/ia64/pci/pci.c