Skip to content

Commit 9cb05f9

Browse files
Christopher Díaz Riverosjmberg-intel
authored andcommitted
debugfs_sta: Remove unneeded semicolons
Trivial fix removes unneeded semicolons after switch blocks. Signed-off-by: Christopher Díaz Riveros <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent 6e3d6ca commit 9cb05f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/mac80211/debugfs_sta.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf,
420420
default:
421421
p += scnprintf(p, sizeof(buf) + buf - p,
422422
"\t\tMAX-MPDU-UNKNOWN\n");
423-
};
423+
}
424424
switch (vhtc->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) {
425425
case 0:
426426
p += scnprintf(p, sizeof(buf) + buf - p,
@@ -438,7 +438,7 @@ static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf,
438438
p += scnprintf(p, sizeof(buf) + buf - p,
439439
"\t\tUNKNOWN-MHZ: 0x%x\n",
440440
(vhtc->cap >> 2) & 0x3);
441-
};
441+
}
442442
PFLAG(RXLDPC, "RXLDPC");
443443
PFLAG(SHORT_GI_80, "SHORT-GI-80");
444444
PFLAG(SHORT_GI_160, "SHORT-GI-160");

0 commit comments

Comments
 (0)