lkml.org 
[lkml]   [2010]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2.6.36-rc7] isdn/eicon: don't call flush_scheduled_work() from diva_os_remove_soft_isr()
On Fri, 15 Oct 2010, Tejun Heo wrote:
> 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().

This is a leftover. Thanks.

Acked-by: Armin Schindler <armin@melware.de>

> Signed-off-by: Tejun Heo <tj@kernel.org>
> ---
> drivers/isdn/hardware/eicon/divasmain.c | 2 --
> 1 file changed, 2 deletions(-)
>
> Index: work/drivers/isdn/hardware/eicon/divasmain.c
> ===================================================================
> --- work.orig/drivers/isdn/hardware/eicon/divasmain.c
> +++ work/drivers/isdn/hardware/eicon/divasmain.c
> @@ -15,7 +15,6 @@
> #include <asm/uaccess.h>
> #include <asm/io.h>
> #include <linux/ioport.h>
> -#include <linux/workqueue.h>
> #include <linux/pci.h>
> #include <linux/interrupt.h>
> #include <linux/list.h>
> @@ -546,7 +545,6 @@ void diva_os_remove_soft_isr(diva_os_sof
> void *mem;
>
> tasklet_kill(&pdpc->divas_task);
> - flush_scheduled_work();
> mem = psoft_isr->object;
> psoft_isr->object = NULL;
> diva_os_free(0, mem);
>


\
 
 \ /
  Last update: 2010-10-16 14:45    [W:0.043 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site