diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-06-20 01:37:35 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-22 18:21:19 +0200 |
commit | 047dc6331de58da51818582c0db0dbfcb837e614 (patch) | |
tree | 533b311a1c4c999ed418dbaa44ac6bfbe06488fc /kernel | |
parent | 36d84fb45140f151fa4e145381dbce5e5ffed24d (diff) | |
download | linux-stable-047dc6331de58da51818582c0db0dbfcb837e614.tar.gz linux-stable-047dc6331de58da51818582c0db0dbfcb837e614.tar.bz2 linux-stable-047dc6331de58da51818582c0db0dbfcb837e614.zip |
genirq: Remove pointless arg from show_irq_affinity
The third argument of the internal helper function is unused. Remove it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235446.004958600@linutronix.de
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c index d35bb8d4c317..eff7c0c8f9b9 100644 --- a/kernel/irq/proc.c +++ b/kernel/irq/proc.c @@ -37,7 +37,7 @@ static struct proc_dir_entry *root_irq_dir; #ifdef CONFIG_SMP -static int show_irq_affinity(int type, struct seq_file *m, void *v) +static int show_irq_affinity(int type, struct seq_file *m) { struct irq_desc *desc = irq_to_desc((long)m->private); const struct cpumask *mask = desc->irq_common_data.affinity; @@ -80,12 +80,12 @@ static int irq_affinity_hint_proc_show(struct seq_file *m, void *v) int no_irq_affinity; static int irq_affinity_proc_show(struct seq_file *m, void *v) { - return show_irq_affinity(0, m, v); + return show_irq_affinity(0, m); } static int irq_affinity_list_proc_show(struct seq_file *m, void *v) { - return show_irq_affinity(1, m, v); + return show_irq_affinity(1, m); } |