Skip to content

Commit 7bf4a5d

Browse files
committed
isdn/eicon: don't call flush_scheduled_work() from diva_os_remove_soft_isr()
diva doesn't use workqueue and there is no reason to flush the system workqueue from diva_os_remove_soft_isr(). Remove it. This is to prepare for the deprecation and removal of flush_scheduled_work(). Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Armin Schindler <armin@melware.de>
1 parent 6370a6a commit 7bf4a5d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/isdn/hardware/eicon/divasmain.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <asm/uaccess.h>
1616
#include <asm/io.h>
1717
#include <linux/ioport.h>
18-
#include <linux/workqueue.h>
1918
#include <linux/pci.h>
2019
#include <linux/interrupt.h>
2120
#include <linux/list.h>
@@ -546,7 +545,6 @@ void diva_os_remove_soft_isr(diva_os_soft_isr_t * psoft_isr)
546545
void *mem;
547546

548547
tasklet_kill(&pdpc->divas_task);
549-
flush_scheduled_work();
550548
mem = psoft_isr->object;
551549
psoft_isr->object = NULL;
552550
diva_os_free(0, mem);

0 commit comments

Comments
 (0)