From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753422AbdFVRGS (ORCPT ); Thu, 22 Jun 2017 13:06:18 -0400 Received: from terminus.zytor.com ([65.50.211.136]:47501 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221AbdFVRGQ (ORCPT ); Thu, 22 Jun 2017 13:06:16 -0400 Date: Thu, 22 Jun 2017 09:59:33 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: marc.zyngier@arm.com, hpa@zytor.com, keith.busch@intel.com, peterz@infradead.org, mpe@ellerman.id.au, hch@lst.de, mingo@kernel.org, linux-kernel@vger.kernel.org, axboe@kernel.dk, tglx@linutronix.de Reply-To: peterz@infradead.org, hch@lst.de, mpe@ellerman.id.au, linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com, marc.zyngier@arm.com, keith.busch@intel.com, tglx@linutronix.de, axboe@kernel.dk In-Reply-To: <20170619235446.004958600@linutronix.de> References: <20170619235446.004958600@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq: Remove pointless arg from show_irq_affinity Git-Commit-ID: 047dc6331de58da51818582c0db0dbfcb837e614 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Archived-At: List-Archive: List-Post: Commit-ID: 047dc6331de58da51818582c0db0dbfcb837e614 Gitweb: http://git.kernel.org/tip/047dc6331de58da51818582c0db0dbfcb837e614 Author: Thomas Gleixner AuthorDate: Tue, 20 Jun 2017 01:37:35 +0200 Committer: Thomas Gleixner CommitDate: Thu, 22 Jun 2017 18:21:19 +0200 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 Cc: Jens Axboe Cc: Marc Zyngier Cc: Michael Ellerman Cc: Keith Busch Cc: Peter Zijlstra Cc: Christoph Hellwig Link: http://lkml.kernel.org/r/20170619235446.004958600@linutronix.de --- kernel/irq/proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c index d35bb8d..eff7c0c 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); }