]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] bcm43xx: remove badness variable and related routine
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 2 Nov 2006 00:11:18 +0000 (18:11 -0600)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:12:02 +0000 (00:12 -0500)
commit0cb365b6cdc773d3d63c257e3c213828afc3d3ec
tree0fee0449cff96c75064b273650482665baf18510
parent5f7b53618fc47cf5fbe8992885bfca483d203140
[PATCH] bcm43xx: remove badness variable and related routine

When the periodic work function in bcm43xx was converted for voluntary preemption
to reduce latency, a new function was created to estimate the "badness" of
each step, and this quantity was used to determine if preemption should be
enabled when periodic work was undertaken. This concept was quite useful
while debugging of periodic work was in progress. Now that this routine
seems to be working correctly, it is time to simplify the code. This
patch keeps the functionality intact, but simplifies the code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c