Commit fd19ce77 authored by Angus Chen's avatar Angus Chen Committed by Thomas Gleixner

genirq: Remove unused argument force of irq_set_affinity_deactivated()

The force parameter in irq_set_affinity_deactivated() is not used,
get rid of it.
Signed-off-by: default avatarAngus Chen <angus.chen@jaguarmicro.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20221007103236.599-1-angus.chen@jaguarmicro.com
parent e5dfd093
...@@ -321,7 +321,7 @@ static int irq_try_set_affinity(struct irq_data *data, ...@@ -321,7 +321,7 @@ static int irq_try_set_affinity(struct irq_data *data,
} }
static bool irq_set_affinity_deactivated(struct irq_data *data, static bool irq_set_affinity_deactivated(struct irq_data *data,
const struct cpumask *mask, bool force) const struct cpumask *mask)
{ {
struct irq_desc *desc = irq_data_to_desc(data); struct irq_desc *desc = irq_data_to_desc(data);
...@@ -354,7 +354,7 @@ int irq_set_affinity_locked(struct irq_data *data, const struct cpumask *mask, ...@@ -354,7 +354,7 @@ int irq_set_affinity_locked(struct irq_data *data, const struct cpumask *mask,
if (!chip || !chip->irq_set_affinity) if (!chip || !chip->irq_set_affinity)
return -EINVAL; return -EINVAL;
if (irq_set_affinity_deactivated(data, mask, force)) if (irq_set_affinity_deactivated(data, mask))
return 0; return 0;
if (irq_can_move_pcntxt(data) && !irqd_is_setaffinity_pending(data)) { if (irq_can_move_pcntxt(data) && !irqd_is_setaffinity_pending(data)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment