]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit08c3103a562ed83c4f9ac8fad6f5cb1ebb1f29a0
tree0fee0449cff96c75064b273650482665baf18510
parent1494a81410d8c53fa6c800be1e22b6b6f64180e6
[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