aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/loop.c')
-rw-r--r--net/rds/loop.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/rds/loop.c b/net/rds/loop.c
index 4a61997f554d..93a45f1ce61f 100644
--- a/net/rds/loop.c
+++ b/net/rds/loop.c
@@ -80,16 +80,9 @@ static int rds_loop_xmit_cong_map(struct rds_connection *conn,
80 struct rds_cong_map *map, 80 struct rds_cong_map *map,
81 unsigned long offset) 81 unsigned long offset)
82{ 82{
83 unsigned long i;
84
85 BUG_ON(offset); 83 BUG_ON(offset);
86 BUG_ON(map != conn->c_lcong); 84 BUG_ON(map != conn->c_lcong);
87 85
88 for (i = 0; i < RDS_CONG_MAP_PAGES; i++) {
89 memcpy((void *)conn->c_fcong->m_page_addrs[i],
90 (void *)map->m_page_addrs[i], PAGE_SIZE);
91 }
92
93 rds_cong_map_updated(conn->c_fcong, ~(u64) 0); 86 rds_cong_map_updated(conn->c_fcong, ~(u64) 0);
94 87
95 return sizeof(struct rds_header) + RDS_CONG_MAP_BYTES; 88 return sizeof(struct rds_header) + RDS_CONG_MAP_BYTES;