From: Jiri Olsa Date: Thu, 6 May 2010 17:36:06 +0000 (+0200) Subject: [IA64] removing redundant ifdef X-Git-Tag: v2.6.35-rc1~502^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82b22c887e02fc6ebeebc8ec43fb1d348e2a6a58;p=platform%2Fkernel%2Flinux-3.10.git [IA64] removing redundant ifdef Pointless to use #ifdef CONFIG_NUMA in code that is already inside another #ifdef CONFIG_NUMA. Signed-off-by: Jiri Olsa Signed-off-by: Tony Luck --- diff --git a/arch/ia64/include/asm/mmzone.h b/arch/ia64/include/asm/mmzone.h index f2ca320..e0de617 100644 --- a/arch/ia64/include/asm/mmzone.h +++ b/arch/ia64/include/asm/mmzone.h @@ -19,16 +19,12 @@ static inline int pfn_to_nid(unsigned long pfn) { -#ifdef CONFIG_NUMA extern int paddr_to_nid(unsigned long); int nid = paddr_to_nid(pfn << PAGE_SHIFT); if (nid < 0) return 0; else return nid; -#else - return 0; -#endif } #ifdef CONFIG_IA64_DIG /* DIG systems are small */