]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[IA64] fix arch/ia64/mm/contig.c:235: warning: unused variable `nid'
authorTony Luck <tony.luck@intel.com>
Tue, 12 Dec 2006 19:18:55 +0000 (11:18 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 12 Dec 2006 19:18:55 +0000 (11:18 -0800)
commit8b9c106856d92c8266697328b148d115538b59ce
treea8c68bb48290d97ae942ca63efeb94856fb892ae
parentf889a26a703b03c774849685583cec7746738f3c
[IA64] fix arch/ia64/mm/contig.c:235: warning: unused variable `nid'

This warning only shows up with CONFIG_VIRTUAL_MEM_MAP=y and
CONFIG_FLATMEM=y.

There is only one caller left for register_active_ranges() from the
contig.c code ... so it doesn't need to pick up the node number, the
node number is always zero.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/contig.c
arch/ia64/mm/init.c