Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b16062fa authored by Bruno Randolf's avatar Bruno Randolf Committed by John W. Linville
Browse files

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: default avatarBruno Randolf <br1@einfach.org>
Acked-by: default avatarBob Copeland <me@bobcopeland.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 39d63f2a
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1937,8 +1937,7 @@ ath5k_tasklet_rx(unsigned long data)
		else if (unlikely(ret)) {
		else if (unlikely(ret)) {
			ATH5K_ERR(sc, "error in processing rx descriptor\n");
			ATH5K_ERR(sc, "error in processing rx descriptor\n");
			sc->stats.rxerr_proc++;
			sc->stats.rxerr_proc++;
			spin_unlock(&sc->rxbuflock);
			break;
			return;
		}
		}


		sc->stats.rx_all_count++;
		sc->stats.rx_all_count++;