mirror of https://gitee.com/openkylin/linux.git
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 <mika.westerberg@linux.intel.com> Cc: Jiang Liu <jiang.liu@linux.intel.com> Link: http://lkml.kernel.org/r/1443704093-36837-2-git-send-email-mika.westerberg@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
92068d17c2
commit
9e7e2b0a6a
|
@ -297,21 +297,6 @@ static inline void irqd_clr_forwarded_to_vcpu(struct irq_data *d)
|
||||||
__irqd_to_state(d) &= ~IRQD_FORWARDED_TO_VCPU;
|
__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)
|
static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d)
|
||||||
{
|
{
|
||||||
return d->hwirq;
|
return d->hwirq;
|
||||||
|
|
Loading…
Reference in New Issue