All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mt76x2: remove unnecessary break in mt76x2_mac_process_tx_rate()
@ 2018-05-01  8:33 Lorenzo Bianconi
  2018-05-04 12:36 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2018-05-01  8:33 UTC (permalink / raw)
  To: nbd; +Cc: linux-wireless

Remove unnecessary break statement in the default case of bw switch
block in mt76x2_mac_process_tx_rate routine

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
 drivers/net/wireless/mediatek/mt76/mt76x2_mac.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_mac.c b/drivers/net/wireless/mediatek/mt76/mt76x2_mac.c
index d18315652583..dab713756004 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2_mac.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2_mac.c
@@ -410,7 +410,6 @@ mt76x2_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate,
 		break;
 	default:
 		return -EINVAL;
-		break;
 	}
 
 	if (rate & MT_RXWI_RATE_SGI)
-- 
2.16.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: mt76x2: remove unnecessary break in mt76x2_mac_process_tx_rate()
  2018-05-01  8:33 [PATCH] mt76x2: remove unnecessary break in mt76x2_mac_process_tx_rate() Lorenzo Bianconi
@ 2018-05-04 12:36 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-05-04 12:36 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: nbd, linux-wireless

Lorenzo Bianconi <lorenzo.bianconi@redhat.com> wrote:

> Remove unnecessary break statement in the default case of bw switch
> block in mt76x2_mac_process_tx_rate routine
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>

Patch applied to wireless-drivers-next.git, thanks.

8efb868566db mt76x2: remove unnecessary break in mt76x2_mac_process_tx_rate()

-- 
https://patchwork.kernel.org/patch/10373263/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-04 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-01  8:33 [PATCH] mt76x2: remove unnecessary break in mt76x2_mac_process_tx_rate() Lorenzo Bianconi
2018-05-04 12:36 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.