]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
m32r: mm: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 15 Mar 2016 21:52:52 +0000 (14:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit3701dc815117e0317f6fcf062ff8a28cd171ce44
tree21683f1b81d4ccc412c56df0cf2c98cc6573bb64
parent25528213fe9f75f4e286f08d35a73ca2bb634a50
m32r: mm: fix build warning

While building we are getting warnings:

  arch/m32r/mm/init.c:63:17: warning: unused variable 'low'
  arch/m32r/mm/init.c:62:17: warning: unused variable 'max_dma'

max_dma and low are only used if CONFIG_MMU is defined.  Lets declare
the variables inside the #ifdef.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/mm/init.c