mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 15:11:11 +07:00
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:
parent
39d63f2a3f
commit
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++;
|
||||
|
Loading…
Reference in New Issue
Block a user