From: Tejun Heo Date: Sun, 12 Dec 2010 15:45:14 +0000 (+0100) Subject: i2400m: drop i2400m_schedule_work() X-Git-Tag: v2.6.38-rc1~476^2~199 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=781ba4567698be9db7ca94d827c4b38d8583c168;p=pandora-kernel.git i2400m: drop i2400m_schedule_work() i2400m implements dynamic work allocation and queueing mechanism in i2400_schedule_work(); however, this is only used for reset and recovery which can be served equally well with preallocated per device works. Replace i2400m_schedule_work() with two work structs in struct i2400m. These works are explicitly canceled when the device is released making calls to flush_scheduled_work(), which is being deprecated, unnecessary. Signed-off-by: Tejun Heo Cc: "David S. Miller" Cc: Inaky Perez-Gonzalez Cc: linux-wimax@intel.com Cc: netdev@vger.kernel.org --- Reading git-diff-tree failed