]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/tls: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 11 Oct 2020 10:34:58 +0000 (12:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Oct 2020 00:11:52 +0000 (17:11 -0700)
commit0403a2b53c29b49c66f89dcbc07ebab37b7af29c
tree918bb869ffe28e679e35bed62c24570e6daa44dd
parent6159e9633f177ef0db435edc013913a8cd888ca0
net/tls: 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-6-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_main.c