commit | 883624a08cb4144343e7362d9fff0e2c69613ebf | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Dec 24 16:14:20 2010 +0100 |
committer | Tejun Heo <tj@kernel.org> | Fri Dec 24 16:14:20 2010 +0100 |
tree | 9c2ba7c942e76d2b333ec9853f293ef5bfac5ca3 | |
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>