Skip to content

Commit 0403a2b

Browse files
JuliaLawallkuba-moo
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 6159e96 commit 0403a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/tls/tls_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ static int __init tls_register(void)
869869

870870
tls_sw_proto_ops = inet_stream_ops;
871871
tls_sw_proto_ops.splice_read = tls_sw_splice_read;
872-
tls_sw_proto_ops.sendpage_locked = tls_sw_sendpage_locked,
872+
tls_sw_proto_ops.sendpage_locked = tls_sw_sendpage_locked;
873873

874874
tls_device_init();
875875
tcp_register_ulp(&tcp_tls_ulp_ops);

0 commit comments

Comments
 (0)