summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-12 10:53:05 -0800
committerAndy Grover <andy.grover@oracle.com>2010-09-08 18:11:44 -0700
commit6200ed7799d9225f363f157ab61f1566cfd80e19 (patch)
tree2c623f0c0c28bdb3b67a911b60b07a9a7566b9f0
parentd22faec22c2ab2364fd8fc3c8159b0b5b28b0fd1 (diff)
RDS: Whitespace
Tidy up some whitespace issues. Signed-off-by: Andy Grover <andy.grover@oracle.com>
-rw-r--r--net/rds/rdma.c1
-rw-r--r--net/rds/recv.c4
-rw-r--r--net/rds/send.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/net/rds/rdma.c b/net/rds/rdma.c
index 1929cb8f17d..4df545a6eab 100644
--- a/net/rds/rdma.c
+++ b/net/rds/rdma.c
@@ -688,7 +688,6 @@ int rds_cmsg_rdma_dest(struct rds_sock *rs, struct rds_message *rm,
*/
r_key = rds_rdma_cookie_key(rm->m_rdma_cookie);
-
spin_lock_irqsave(&rs->rs_rdma_lock, flags);
mr = rds_mr_tree_walk(&rs->rs_rdma_keys, r_key, NULL);
if (!mr)
diff --git a/net/rds/recv.c b/net/rds/recv.c
index 5188763b609..68800f02aa3 100644
--- a/net/rds/recv.c
+++ b/net/rds/recv.c
@@ -333,10 +333,10 @@ int rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msghdr)
if (msghdr) {
cmsg.user_token = notifier->n_user_token;
- cmsg.status = notifier->n_status;
+ cmsg.status = notifier->n_status;
err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_RDMA_STATUS,
- sizeof(cmsg), &cmsg);
+ sizeof(cmsg), &cmsg);
if (err)
break;
}
diff --git a/net/rds/send.c b/net/rds/send.c
index f3f4e79274b..5bc35d2f40e 100644
--- a/net/rds/send.c
+++ b/net/rds/send.c
@@ -150,7 +150,7 @@ int rds_send_xmit(struct rds_connection *conn)
*/
if (conn->c_map_bytes) {
ret = conn->c_trans->xmit_cong_map(conn, conn->c_lcong,
- conn->c_map_offset);
+ conn->c_map_offset);
if (ret <= 0)
break;