mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 03:48:46 +07:00
rt2x00: rt2500pci: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
6eba8fd223
commit
10bb922177
@ -1430,7 +1430,7 @@ static void rt2500pci_txdone(struct rt2x00_dev *rt2x00dev,
|
||||
break;
|
||||
case 2: /* Failure, excessive retries */
|
||||
__set_bit(TXDONE_EXCESSIVE_RETRY, &txdesc.flags);
|
||||
/* Don't break, this is a failed frame! */
|
||||
/* Fall through - this is a failed frame! */
|
||||
default: /* Failure */
|
||||
__set_bit(TXDONE_FAILURE, &txdesc.flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user