ath5k: unify rx descriptor error handling
There is no reason for a special handling (return) here, just break like we do with the checks before. Signed-off-by: Bruno Randolf <br1@einfach.org> Acked-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Родитель
39d63f2a3f
Коммит
b16062facb
|
@ -1937,8 +1937,7 @@ ath5k_tasklet_rx(unsigned long data)
|
|||
else if (unlikely(ret)) {
|
||||
ATH5K_ERR(sc, "error in processing rx descriptor\n");
|
||||
sc->stats.rxerr_proc++;
|
||||
spin_unlock(&sc->rxbuflock);
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
sc->stats.rx_all_count++;
|
||||
|
|
Загрузка…
Ссылка в новой задаче