From: Inaky Perez-Gonzalez Date: Sat, 2 May 2009 09:50:03 +0000 (-0700) Subject: wimax/i2400m: remove redundant readiness checks from i2400m_report_tlv_*() X-Git-Tag: v2.6.31-rc1~330^2~229^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=052991d7ac7f7b2c0319e6ccd2e8a48a71f2bd58;p=pandora-kernel.git wimax/i2400m: remove redundant readiness checks from i2400m_report_tlv_*() Functions i2400m_report_tlv*() are only called from i2400m_report_hook(), called in a workqueue by i2400m_report_hook_work(). The scheduler checks for device readiness before scheduling. Added an extra check for readiness in i2400m_report_hook_work(), which makes all the checks down the line redundant. Obviously the device state could change in the middle, but error handling would take care of that. Signed-off-by: Inaky Perez-Gonzalez --- Reading git-diff-tree failed