Skip to contentSkip to conversation

mt76: mt7921: remove unneeded semicolon

PATCH In review Qiheng Lin 2 participants 2 messages Apr 6, 2021

Subsystems (4)
lore
Share & tools
lore

Qiheng Lin

author
#0 lore raw

PATCH 1/1 mt76: mt7921: remove unneeded semicolon

Eliminate the following coccicheck warning:
drivers/net/wireless/mediatek/mt76/mt7921/mac.c:1402:2-3: Unneeded semicolon

---
 drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt7921/mac.c +1 -1
index 3f9097481a5e..e56cde3a19ec 100644
@@ -1399,7 +1399,7 @@ void mt7921_mac_work(struct work_struct *work)
 	if (++phy->sta_work_count == 10) {
 		phy->sta_work_count = 0;
 		mt7921_mac_sta_stats_work(phy);
-	};
+	}
 
 	mt7921_mutex_release(phy->dev);
 
Signature · 1 line
2.31.1
#1 lore raw
Quoted 4 lines · Qiheng Lin

Eliminate the following coccicheck warning:
drivers/net/wireless/mediatek/mt76/mt7921/mac.c:1402:2-3: Unneeded semicolon

mt76 patches go to the mt76 tree maintained by Felix, not to net-next.

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/

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