diff options
author | Tejun Heo <tj@kernel.org> | 2010-12-24 16:14:20 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-12-24 16:14:20 +0100 |
commit | 883624a08cb4144343e7362d9fff0e2c69613ebf (patch) | |
tree | 9c2ba7c942e76d2b333ec9853f293ef5bfac5ca3 /drivers/media/video/cx231xx/cx231xx-cards.c | |
parent | ee4569a3a75e1a5ed53b0c4ff4d9fc456aa98ef1 (diff) |
ioc4: use static work_struct for ioc4_load_modules()
There is no reason to dynamically allocate work_struct for
ioc4_load_modules(). It makes the code more complex and makes it
impossible to flush the work directly. Use static work
ioc4_load_modules_work instead and flush it directly on exit.
This removes the use of flush_scheduled_work() which is being
deprecated.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Brent Casavant <bcasavan@sgi.com>
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-cards.c')
0 files changed, 0 insertions, 0 deletions