summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-05-30 21:16:05 +0530
committerDavid S. Miller <davem@davemloft.net>2014-05-30 17:48:58 -0700
commitcc2afe9fe25d99cbe19eac57c0f8f098b2710b7c (patch)
tree8b99bf20c13c1a540909ce13079271da39b95432 /net
parent70cb4a4526d4d3ad901a979a5f26917149408f8d (diff)
downloadop-kernel-dev-cc2afe9fe25d99cbe19eac57c0f8f098b2710b7c.zip
op-kernel-dev-cc2afe9fe25d99cbe19eac57c0f8f098b2710b7c.tar.gz
RDS/RDMA: 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>
Diffstat (limited to 'net')
-rw-r--r--net/rds/rdma_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/rdma_transport.c b/net/rds/rdma_transport.c
index c2be901..6cd9d1d 100644
--- a/net/rds/rdma_transport.c
+++ b/net/rds/rdma_transport.c
@@ -168,7 +168,7 @@ static int rds_rdma_listen_init(void)
return ret;
}
- sin.sin_family = AF_INET,
+ sin.sin_family = AF_INET;
sin.sin_addr.s_addr = (__force u32)htonl(INADDR_ANY);
sin.sin_port = (__force u16)htons(RDS_PORT);
OpenPOWER on IntegriCloud