summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez2009-05-02 11:50:03 +0200
committerInaky Perez-Gonzalez2009-05-29 03:01:58 +0200
commit052991d7ac7f7b2c0319e6ccd2e8a48a71f2bd58 (patch)
tree07706156ef906951c2f602aadfa7793c4409aa0b /drivers/usb
parentwimax/i2400m: factor out 'state report's TLV handling to a function (diff)
downloadkernel-qcow2-linux-052991d7ac7f7b2c0319e6ccd2e8a48a71f2bd58.tar.gz
kernel-qcow2-linux-052991d7ac7f7b2c0319e6ccd2e8a48a71f2bd58.tar.xz
kernel-qcow2-linux-052991d7ac7f7b2c0319e6ccd2e8a48a71f2bd58.zip
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 <inaky@linux.intel.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions