diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index b99a784635ff..d4728bf6a537 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -783,10 +783,7 @@ static inline struct cpumask *irq_data_get_affinity_mask(struct irq_data *d) | |||
783 | static inline | 783 | static inline |
784 | struct cpumask *irq_data_get_effective_affinity_mask(struct irq_data *d) | 784 | struct cpumask *irq_data_get_effective_affinity_mask(struct irq_data *d) |
785 | { | 785 | { |
786 | if (!cpumask_empty(d->common->effective_affinity)) | 786 | return d->common->effective_affinity; |
787 | return d->common->effective_affinity; | ||
788 | |||
789 | return d->common->affinity; | ||
790 | } | 787 | } |
791 | static inline void irq_data_update_effective_affinity(struct irq_data *d, | 788 | static inline void irq_data_update_effective_affinity(struct irq_data *d, |
792 | const struct cpumask *m) | 789 | const struct cpumask *m) |