Skip to content

Commit 83af187

Browse files
author
Christoph Hellwig
committed
irq_poll: mark __irq_poll_complete static
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
1 parent 0bc92ac commit 83af187

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/linux/irq_poll.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ enum {
2121
extern void irq_poll_sched(struct irq_poll *);
2222
extern void irq_poll_init(struct irq_poll *, int, irq_poll_fn *);
2323
extern void irq_poll_complete(struct irq_poll *);
24-
extern void __irq_poll_complete(struct irq_poll *);
2524
extern void irq_poll_enable(struct irq_poll *);
2625
extern void irq_poll_disable(struct irq_poll *);
2726

lib/irq_poll.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@ EXPORT_SYMBOL(irq_poll_sched);
4747
* See irq_poll_complete(). This function must be called with interrupts
4848
* disabled.
4949
**/
50-
void __irq_poll_complete(struct irq_poll *iop)
50+
static void __irq_poll_complete(struct irq_poll *iop)
5151
{
5252
list_del(&iop->list);
5353
smp_mb__before_atomic();
5454
clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state);
5555
}
56-
EXPORT_SYMBOL(__irq_poll_complete);
5756

5857
/**
5958
* irq_poll_complete - Mark this @iop as un-polled again

0 commit comments

Comments
 (0)