Skip to contentSkip to conversation

mac80211: Remove unneeded semicolons

PATCH-next Christopher Díaz Riveros 1 participant 1 message Jan 18, 2018 mac80211

lore
Share & tools
lore
#0 lore raw

Trivial fix removes unneeded semicolons after switch blocks.

This issue was detected by using the Coccinelle software.

---
 net/mac80211/debugfs_sta.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/mac80211/debugfs_sta.c +2 -2
index b15412c21ac9..444ea8d127fe 100644
@@ -420,7 +420,7 @@ static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf,
 		default:
 			p += scnprintf(p, sizeof(buf) + buf - p,
 				       "\t\tMAX-MPDU-UNKNOWN\n");
-		};
+		}
 		switch (vhtc->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) {
 		case 0:
 			p += scnprintf(p, sizeof(buf) + buf - p,
@@ -438,7 +438,7 @@ static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf,
 			p += scnprintf(p, sizeof(buf) + buf - p,
 				       "\t\tUNKNOWN-MHZ: 0x%x\n",
 				       (vhtc->cap >> 2) & 0x3);
-		};
+		}
 		PFLAG(RXLDPC, "RXLDPC");
 		PFLAG(SHORT_GI_80, "SHORT-GI-80");
 		PFLAG(SHORT_GI_160, "SHORT-GI-160");
Signature · 1 line
2.15.1