]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mac80211: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 11 Oct 2020 10:34:55 +0000 (12:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Nov 2020 08:59:11 +0000 (09:59 +0100)
commitc7287cb8c686f1f9eb1a5e557e9b5ff9b360ddae
tree3f0d6b28aa41d3e0f541eab9ca526e592396b18c
parentc9448e828d113cd7eafe77c414127e877ca88b20
mac80211: use semicolons rather than commas to separate statements

Replace commas with semicolons.  Commas introduce unnecessary
variability in the code structure and are hard to see.  What is done
is essentially described by the following Coccinelle semantic patch
(http://coccinelle.lip6.fr/):

// <smpl>
@@ expression e1,e2; @@
e1
-,
+;
e2
... when any
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/1602412498-32025-3-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_sta.c