From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754758AbbJAPbG (ORCPT ); Thu, 1 Oct 2015 11:31:06 -0400 Received: from terminus.zytor.com ([198.137.202.10]:55292 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753537AbbJAPbD (ORCPT ); Thu, 1 Oct 2015 11:31:03 -0400 Date: Thu, 1 Oct 2015 08:30:52 -0700 From: tip-bot for Mika Westerberg Message-ID: Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, jiang.liu@linux.intel.com, hpa@zytor.com, mika.westerberg@linux.intel.com Reply-To: mika.westerberg@linux.intel.com, hpa@zytor.com, jiang.liu@linux.intel.com, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de In-Reply-To: <1443704093-36837-2-git-send-email-mika.westerberg@linux.intel.com> References: <1443704093-36837-2-git-send-email-mika.westerberg@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq: Remove unused functions irqd_[set|clr] _chained_irq_inprogress() Git-Commit-ID: 9e7e2b0a6a005941a6854cdabae19c3d9e069dbe 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 Commit-ID: 9e7e2b0a6a005941a6854cdabae19c3d9e069dbe Gitweb: http://git.kernel.org/tip/9e7e2b0a6a005941a6854cdabae19c3d9e069dbe Author: Mika Westerberg AuthorDate: Thu, 1 Oct 2015 15:54:53 +0300 Committer: Thomas Gleixner CommitDate: Thu, 1 Oct 2015 17:28:28 +0200 genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress() These two functions are not used anywhere in the kernel source tree so remove them. Signed-off-by: Mika Westerberg Cc: Jiang Liu Link: http://lkml.kernel.org/r/1443704093-36837-2-git-send-email-mika.westerberg@linux.intel.com Signed-off-by: Thomas Gleixner --- include/linux/irq.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/linux/irq.h b/include/linux/irq.h index 7038f38..ba72b60 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -297,21 +297,6 @@ static inline void irqd_clr_forwarded_to_vcpu(struct irq_data *d) __irqd_to_state(d) &= ~IRQD_FORWARDED_TO_VCPU; } -/* - * Functions for chained handlers which can be enabled/disabled by the - * standard disable_irq/enable_irq calls. Must be called with - * irq_desc->lock held. - */ -static inline void irqd_set_chained_irq_inprogress(struct irq_data *d) -{ - __irqd_to_state(d) |= IRQD_IRQ_INPROGRESS; -} - -static inline void irqd_clr_chained_irq_inprogress(struct irq_data *d) -{ - __irqd_to_state(d) &= ~IRQD_IRQ_INPROGRESS; -} - static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d) { return d->hwirq;