summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/qdio.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-02-22 10:18:33 +0100
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 09:39:19 +0200
commit0d374381d00b92ad73771bb9b09db21e7bb64500 (patch)
tree085b9c88f78ed2b84d1f5c17da7a09ed2ec3d2b7 /drivers/s390/cio/qdio.h
parentbdfd740c1ddac2ec331af9bf79da79d097082882 (diff)
downloadlwn-0d374381d00b92ad73771bb9b09db21e7bb64500.tar.gz
lwn-0d374381d00b92ad73771bb9b09db21e7bb64500.zip
s390/qdio: remove unused macros
These macros haven't seen any use in a long time. Also note that the queue_irqs_*() ones wouldn't even compile anymore. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio.h')
-rw-r--r--drivers/s390/cio/qdio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/s390/cio/qdio.h b/drivers/s390/cio/qdio.h
index f3aecf1e33e1..478f84cd9e45 100644
--- a/drivers/s390/cio/qdio.h
+++ b/drivers/s390/cio/qdio.h
@@ -334,11 +334,6 @@ static inline void qdio_deliver_irq(struct qdio_irq *irq)
#define sub_buf(bufnr, dec) QDIO_BUFNR((bufnr) - (dec))
#define prev_buf(bufnr) sub_buf(bufnr, 1)
-#define queue_irqs_enabled(q) \
- (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) == 0)
-#define queue_irqs_disabled(q) \
- (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) != 0)
-
extern u64 last_ai_time;
/* prototypes for thin interrupt */