summaryrefslogtreecommitdiffstats
path: root/drivers/net/ne2.c
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2008-06-03 18:58:56 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-06-14 18:17:55 +0200
commit2b08da3fb595432f87b5206c1c77dcb72300cacf (patch)
treeb165baf29c47a5e58ac7f9d755942aca5d519614 /drivers/net/ne2.c
parentrt2x00: Calculate register offset during compile time (diff)
downloadlinux-2b08da3fb595432f87b5206c1c77dcb72300cacf.tar.xz
linux-2b08da3fb595432f87b5206c1c77dcb72300cacf.zip
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>
Diffstat (limited to 'drivers/net/ne2.c')
0 files changed, 0 insertions, 0 deletions