summaryrefslogtreecommitdiffstats
path: root/net/tls/tls_main.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2020-10-11 12:34:58 +0200
committerJakub Kicinski <kuba@kernel.org>2020-10-13 17:11:52 -0700
commit0403a2b53c29b49c66f89dcbc07ebab37b7af29c (patch)
tree918bb869ffe28e679e35bed62c24570e6daa44dd /net/tls/tls_main.c
parent6159e9633f177ef0db435edc013913a8cd888ca0 (diff)
downloadlinux-stable-0403a2b53c29b49c66f89dcbc07ebab37b7af29c.tar.gz
linux-stable-0403a2b53c29b49c66f89dcbc07ebab37b7af29c.tar.bz2
linux-stable-0403a2b53c29b49c66f89dcbc07ebab37b7af29c.zip
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>
Diffstat (limited to 'net/tls/tls_main.c')
-rw-r--r--net/tls/tls_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c
index 002b0859fed5..8d93cea99f2c 100644
--- a/net/tls/tls_main.c
+++ b/net/tls/tls_main.c
@@ -869,7 +869,7 @@ static int __init tls_register(void)
tls_sw_proto_ops = inet_stream_ops;
tls_sw_proto_ops.splice_read = tls_sw_splice_read;
- tls_sw_proto_ops.sendpage_locked = tls_sw_sendpage_locked,
+ tls_sw_proto_ops.sendpage_locked = tls_sw_sendpage_locked;
tls_device_init();
tcp_register_ulp(&tcp_tls_ulp_ops);