summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-10-25 17:16:16 +0800
committerFelix Fietkau <nbd@nbd.name>2019-11-20 13:23:50 +0100
commit5d1ad7d7bab0e9519c6f2a75fde6ab193279c5b3 (patch)
treeabdb571b599840f3d5b43744cbbc87d876166aa6 /drivers/net/wireless/mediatek
parent2ec1e82bbf92c3031307beb89b59b589206c318c (diff)
downloadlinux-5d1ad7d7bab0e9519c6f2a75fde6ab193279c5b3.tar.gz
linux-5d1ad7d7bab0e9519c6f2a75fde6ab193279c5b3.tar.bz2
linux-5d1ad7d7bab0e9519c6f2a75fde6ab193279c5b3.zip
mt76: mt7615: remove unneeded semicolon
remove unneeded semicolon. This is detected by coccinelle. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/main.c2
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/mcu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
index 7e1e1481219a..4f7cdb4f08fb 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
@@ -60,7 +60,7 @@ static int get_omac_idx(enum nl80211_iftype type, u32 mask)
default:
WARN_ON(1);
break;
- };
+ }
return -1;
}
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
index 842cd81704db..164619f8a9ed 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
@@ -1076,7 +1076,7 @@ int mt7615_mcu_set_sta_rec(struct mt7615_dev *dev, struct ieee80211_vif *vif,
default:
WARN_ON(1);
break;
- };
+ }
if (en) {
req.basic.conn_state = CONN_STATE_PORT_SECURE;