瀏覽代碼

genirq: remove redundant if condition

Impact: cleanup

The code is only compiled if CONFIG_GENERIC_HARDIRQS=y so another
check for this define in the code is redundant. Remove it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner 16 年之前
父節點
當前提交
c8e2aeef0b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/irq/manage.c

+ 1 - 1
kernel/irq/manage.c

@@ -15,7 +15,7 @@
 
 
 #include "internals.h"
 #include "internals.h"
 
 
-#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS)
+#ifdef CONFIG_SMP
 cpumask_var_t irq_default_affinity;
 cpumask_var_t irq_default_affinity;
 
 
 /**
 /**