diff options
author | Tom Rix <trix@redhat.com> | 2020-10-20 05:58:41 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-11-07 13:34:22 +0200 |
commit | 3287953b03994870c249ec57f55967cd1f7afbb8 (patch) | |
tree | 47ac9f16ba32a5ce66ed1e65baae6a32e3850712 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | 65277100caa2f2c62b6f3c4648b90d6f0435f3bc (diff) | |
download | linux-3287953b03994870c249ec57f55967cd1f7afbb8.tar.bz2 |
wireless: remove unneeded break
A break is not needed if it is preceded by a return
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201020125841.26791-1-trix@redhat.com
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 6609ce122e6e..b66eeb577272 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2308,7 +2308,6 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period) ath_dbg(ath9k_hw_common(ah), BEACON, "%s: unsupported opmode: %d\n", __func__, ah->opmode); return; - break; } REG_WRITE(ah, AR_BEACON_PERIOD, beacon_period); |