Skip to content

Commit

Permalink
genirq: remove redundant if condition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner committed Mar 13, 2009
1 parent 3dd3d46 commit c8e2aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "internals.h"

#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS)
#ifdef CONFIG_SMP
cpumask_var_t irq_default_affinity;

/**
Expand Down

0 comments on commit c8e2aee

Please sign in to comment.