diff mbox series

nios2: remove unneeded HAS_DMA define

Message ID 1543218130-5800-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit fd8658b58030b1815ba8bccfc02692c9fa718996
Headers show
Series nios2: remove unneeded HAS_DMA define | expand

Commit Message

Masahiro Yamada Nov. 26, 2018, 7:42 a.m. UTC
kernel/dma/Kconfig globally defines HAS_DMA as follows:

  config HAS_DMA
          bool
          depends on !NO_DMA
          default y

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

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

-- 
2.7.4

Comments

Christoph Hellwig Nov. 26, 2018, 8:29 a.m. UTC | #1
On Mon, Nov 26, 2018 at 04:42:10PM +0900, Masahiro Yamada wrote:
> kernel/dma/Kconfig globally defines HAS_DMA as follows:

> 

>   config HAS_DMA

>           bool

>           depends on !NO_DMA

>           default y

> 

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Looks good, thanks!

Reviewed-by: Christoph Hellwig <hch@lst.de>
Masahiro Yamada Dec. 31, 2018, 1:07 a.m. UTC | #2
On Mon, Nov 26, 2018 at 4:43 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>

> kernel/dma/Kconfig globally defines HAS_DMA as follows:

>

>   config HAS_DMA

>           bool

>           depends on !NO_DMA

>           default y

>

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

> ---



Applied to linux-kbuild.


>  arch/nios2/Kconfig | 3 ---

>  1 file changed, 3 deletions(-)

>

> diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig

> index 7e95506..69c4af1 100644

> --- a/arch/nios2/Kconfig

> +++ b/arch/nios2/Kconfig

> @@ -37,9 +37,6 @@ config GENERIC_CALIBRATE_DELAY

>  config NO_IOPORT_MAP

>         def_bool y

>

> -config HAS_DMA

> -       def_bool y

> -

>  config FPU

>         def_bool n

>

> --

> 2.7.4

>



-- 
Best Regards
Masahiro Yamada
diff mbox series

Patch

diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
index 7e95506..69c4af1 100644
--- a/arch/nios2/Kconfig
+++ b/arch/nios2/Kconfig
@@ -37,9 +37,6 @@  config GENERIC_CALIBRATE_DELAY
 config NO_IOPORT_MAP
 	def_bool y
 
-config HAS_DMA
-	def_bool y
-
 config FPU
 	def_bool n