From: Tejun Heo Date: Fri, 24 Dec 2010 15:14:20 +0000 (+0100) Subject: ioc4: use static work_struct for ioc4_load_modules() X-Git-Tag: v2.6.38-rc1~456^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=883624a08cb4144343e7362d9fff0e2c69613ebf;p=pandora-kernel.git 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 Cc: Brent Casavant --- Reading git-diff-tree failed