Explorar o código

[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 <jolsa@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Jiri Olsa %!s(int64=15) %!d(string=hai) anos
pai
achega
82b22c887e
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      arch/ia64/include/asm/mmzone.h

+ 0 - 4
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 */