Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1237406

[PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress()

From Mika Westerberg <mika.westerberg@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress()
Date 2015-10-01 15:00 +0200
Message-ID <qeLCO-4xp-35@gated-at.bofh.it> (permalink)
References <qeLCO-4xp-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


These two functions are not used anywhere in the kernel source tree so
remove them.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 include/linux/irq.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
index 5c9a5281610f..6bcfe8ac7594 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;
-- 
2.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] genirq: Fix typo in documentation of enumeration field name Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-10-01 15:00 +0200
  [PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress() Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-10-01 15:00 +0200
    [tip:irq/core] genirq: Remove unused functions irqd_[set|clr]  _chained_irq_inprogress() tip-bot for Mika Westerberg <tipbot@zytor.com> - 2015-10-01 17:40 +0200
  [tip:irq/core] genirq:   Fix typo in documentation of enumeration field name tip-bot for Mika Westerberg <tipbot@zytor.com> - 2015-10-01 17:40 +0200

csiph-web