Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment