MIPS: Malta: Cleanup DMA coherence #ifdefs
authorPaul Burton <paul.burton@mips.com>
Fri, 2 Sep 2016 15:10:06 +0000 (16:10 +0100)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:27:27 +0000 (09:27 -0700)
commita07539c00046dfa890e6aac1db4f0de01acb0132
treee6eed50092c42efae5a5f3e725bafbeb3deb0954
parentd1c5872ce1042d10d44e54b6e8e8f5b7c2e76541
MIPS: Malta: Cleanup DMA coherence #ifdefs

DMA coherence is not user-selectable in Kconfig, and Malta selects
CONFIG_DMA_MAYBE_COHERENT which in turn selects CONFIG_DMA_NONCOHERENT.
Remove #ifdefs whose conditions can therefore never be true for Malta.

This removes a significant amount of code from bonito_quirks_setup(),
but the code is duplicated in plat_enable_iocoherency() anyway so we
lose nothing but duplication.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/14188/
arch/mips/mti-malta/malta-setup.c