Commit 01728371dc261c876d07e9228a55a096b6d9a1f9

Authored by Himangi Saraogi
Committed by David S. Miller
1 parent cc2afe9fe2

rds/tcp_listen: Replace comma with semicolon

This patch replaces a comma between expression statements by a semicolon.

A simplified version of the semantic patch that performs this
transformation is as follows:

// <smpl>
@r@
expression e1,e2,e;
type T;
identifier i;
@@

 e1
-,
+;
 e2;
// </smpl>

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

net/rds/tcp_listen.c
... ... @@ -153,7 +153,7 @@
153 153 sock->sk->sk_data_ready = rds_tcp_listen_data_ready;
154 154 write_unlock_bh(&sock->sk->sk_callback_lock);
155 155  
156   - sin.sin_family = PF_INET,
  156 + sin.sin_family = PF_INET;
157 157 sin.sin_addr.s_addr = (__force u32)htonl(INADDR_ANY);
158 158 sin.sin_port = (__force u16)htons(RDS_TCP_PORT);
159 159