diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-05-30 11:47:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-30 20:48:58 -0400 |
commit | 01728371dc261c876d07e9228a55a096b6d9a1f9 (patch) | |
tree | 71bbc72621ae10fb0946ad99ed1aabb3bb71a5f4 | |
parent | cc2afe9fe25d99cbe19eac57c0f8f098b2710b7c (diff) |
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>
-rw-r--r-- | net/rds/tcp_listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/tcp_listen.c b/net/rds/tcp_listen.c index 4e638f851185..23ab4dcd1d9f 100644 --- a/net/rds/tcp_listen.c +++ b/net/rds/tcp_listen.c | |||
@@ -153,7 +153,7 @@ int rds_tcp_listen_init(void) | |||
153 | sock->sk->sk_data_ready = rds_tcp_listen_data_ready; | 153 | sock->sk->sk_data_ready = rds_tcp_listen_data_ready; |
154 | write_unlock_bh(&sock->sk->sk_callback_lock); | 154 | write_unlock_bh(&sock->sk->sk_callback_lock); |
155 | 155 | ||
156 | sin.sin_family = PF_INET, | 156 | sin.sin_family = PF_INET; |
157 | sin.sin_addr.s_addr = (__force u32)htonl(INADDR_ANY); | 157 | sin.sin_addr.s_addr = (__force u32)htonl(INADDR_ANY); |
158 | sin.sin_port = (__force u16)htons(RDS_TCP_PORT); | 158 | sin.sin_port = (__force u16)htons(RDS_TCP_PORT); |
159 | 159 | ||