projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a424077
)
rds: cleanup: remove unneeded variable
author
Dan Carpenter
<
[email protected]
>
Wed, 24 Mar 2010 01:57:30 +0000
(
01:57
+0000)
committer
David S. Miller
<
[email protected]
>
Wed, 24 Mar 2010 20:34:09 +0000
(13:34 -0700)
We never use "sk" so this patch removes it.
Signed-off-by: Dan Carpenter <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/rds/af_rds.c
patch
|
blob
|
history
diff --git
a/net/rds/af_rds.c
b/net/rds/af_rds.c
index 937ecda4abe7e4956523c6ac66b458b321d966a7..c2e45e8efa2053fc3b34848b568bad0c623b3f58 100644
(file)
--- 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,
struct rds_info_lengths *lens)
{
struct rds_sock *rs;
- struct sock *sk;
struct rds_incoming *inc;
unsigned long flags;
unsigned int total = 0;
@@
-461,7
+460,6
@@
static void rds_sock_inc_info(struct socket *sock, unsigned int len,
spin_lock_irqsave(&rds_sock_lock, flags);
list_for_each_entry(rs, &rds_sock_list, rs_item) {
- sk = rds_rs_to_sk(rs);
read_lock(&rs->rs_recv_lock);
/* XXX too lazy to maintain counts.. */