aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/af_rds.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/af_rds.c')
-rw-r--r--net/rds/af_rds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/rds/af_rds.c b/net/rds/af_rds.c
index 937ecda4abe7..c2e45e8efa20 100644
--- a/net/rds/af_rds.c
+++ b/net/rds/af_rds.c
@@ -451,7 +451,6 @@ static void rds_sock_inc_info(struct socket *sock, unsigned int len,
451 struct rds_info_lengths *lens) 451 struct rds_info_lengths *lens)
452{ 452{
453 struct rds_sock *rs; 453 struct rds_sock *rs;
454 struct sock *sk;
455 struct rds_incoming *inc; 454 struct rds_incoming *inc;
456 unsigned long flags; 455 unsigned long flags;
457 unsigned int total = 0; 456 unsigned int total = 0;
@@ -461,7 +460,6 @@ static void rds_sock_inc_info(struct socket *sock, unsigned int len,
461 spin_lock_irqsave(&rds_sock_lock, flags); 460 spin_lock_irqsave(&rds_sock_lock, flags);
462 461
463 list_for_each_entry(rs, &rds_sock_list, rs_item) { 462 list_for_each_entry(rs, &rds_sock_list, rs_item) {
464 sk = rds_rs_to_sk(rs);
465 read_lock(&rs->rs_recv_lock); 463 read_lock(&rs->rs_recv_lock);
466 464
467 /* XXX too lazy to maintain counts.. */ 465 /* XXX too lazy to maintain counts.. */