commit | 2b08da3fb595432f87b5206c1c77dcb72300cacf | [log] [tgz] |
---|---|---|
author | Ivo van Doorn <IvDoorn@gmail.com> | Tue Jun 03 18:58:56 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Sat Jun 14 12:17:55 2008 -0400 |
tree | b165baf29c47a5e58ac7f9d755942aca5d519614 | |
parent | 9dad92b9ba49eaab72513d821ae43298bcf93b90 [diff] |
rt2x00: Cleanup/optimize set_state() function callback function * Reduce goto usage * Mark if-statements which are true on hardware error unlikely() * Cleanup debug messages This makes the code look nicer and be better optimized since the chance of hardware errors should be very small. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>