Skip to content
Snippets Groups Projects
Commit 883624a0 authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Cc: Brent Casavant <bcasavan@sgi.com>
parent ee4569a3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment