[PATCH] ARC: Remove unneeded Kconfig entry NO_DMA

From: Paul Bolle
Date: Wed Sep 24 2014 - 14:32:28 EST


Architectures only need a Kconfig entry for NO_DMA if it is possible
that its value will be 'y'. For arc its value will always be 'n', making
it pointless. Remove it.

Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
---
Tested by playing with arch/arc/configs/tb10x_defconfig. The only
difference this change should make, is that the line reading
# CONFIG_NO_DMA is not set

is dropped from the .config file after "make oldconfig". That should
have no impact whatsoever on the build.

arch/arc/Kconfig | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 32b4f8ecf3f0..2a08449ef1c7 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -73,9 +73,6 @@ config STACKTRACE_SUPPORT
config HAVE_LATENCYTOP_SUPPORT
def_bool y

-config NO_DMA
- def_bool n
-
source "init/Kconfig"
source "kernel/Kconfig.freezer"

--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/