diff mbox

[PATCH-next] debugfs_sta: Remove unneeded semicolons

Message ID 20180117210300.23479-1-chrisadr@gentoo.org (mailing list archive)
State Accepted
Delegated to: Johannes Berg
Headers show

Commit Message

Christopher Diaz Riveros Jan. 17, 2018, 9:03 p.m. UTC
Trivial fix removes unneeded semicolons after switch blocks.

Signed-off-by: Christopher Díaz Riveros <chrisadr@gentoo.org>
---
 net/mac80211/debugfs_sta.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Kalle Valo Jan. 18, 2018, 4:47 a.m. UTC | #1
Christopher Díaz Riveros <chrisadr@gentoo.org> writes:

> Trivial fix removes unneeded semicolons after switch blocks.
>
> Signed-off-by: Christopher Díaz Riveros <chrisadr@gentoo.org>
> ---
>  net/mac80211/debugfs_sta.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

The correct title prefix should be "mac80211:", not "debugfs_sta:".
diff mbox

Patch

diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
index b15412c21ac9..444ea8d127fe 100644
--- a/net/mac80211/debugfs_sta.c
+++ b/net/mac80211/debugfs_sta.c
@@ -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");