• Larry Finger's avatar
    [PATCH] bcm43xx: remove badness variable and related routine · 08c3103a
    Larry Finger authored
    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: default avatarLarry Finger <Larry.Finger@lwfinger.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    08c3103a
bcm43xx_main.c 117 KB