• Tejun Heo's avatar
    ioc4: use static work_struct for ioc4_load_modules() · 883624a0
    Tejun Heo authored
    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>
    883624a0
ioc4.c 14.4 KB