summaryrefslogtreecommitdiff
path: root/include/linux/irq_poll.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-12-07 17:56:36 +0300
committerChristoph Hellwig <hch@lst.de>2015-12-11 22:52:27 +0300
commit0bc92ace52ef3ed1c8eb9bcf36cd3d7ca72d5d14 (patch)
tree0a76114d5562b687843015ee8c6c2c1ce87c68ec /include/linux/irq_poll.h
parentea51190c03150fce4d9e428bfb608abbe0991db8 (diff)
downloadlinux-0bc92ace52ef3ed1c8eb9bcf36cd3d7ca72d5d14.tar.xz
irq_poll: fold irq_poll_disable_pending into irq_poll_softirq
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Diffstat (limited to 'include/linux/irq_poll.h')
-rw-r--r--include/linux/irq_poll.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/irq_poll.h b/include/linux/irq_poll.h
index 57efae661400..b4ad03cee9d4 100644
--- a/include/linux/irq_poll.h
+++ b/include/linux/irq_poll.h
@@ -18,11 +18,6 @@ enum {
IRQ_POLL_F_DISABLE = 1,
};
-static inline int irq_poll_disable_pending(struct irq_poll *iop)
-{
- return test_bit(IRQ_POLL_F_DISABLE, &iop->state);
-}
-
extern void irq_poll_sched(struct irq_poll *);
extern void irq_poll_init(struct irq_poll *, int, irq_poll_fn *);
extern void irq_poll_complete(struct irq_poll *);