OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd4271
)
net/rds: Remove unnecessary variable
author
Håkon Bugge
<Haakon.Bugge@oracle.com>
Mon, 16 Jul 2018 13:06:39 +0000
(15:06 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Jul 2018 05:44:08 +0000
(14:44 +0900)
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_recv.c
patch
|
blob
|
history
diff --git
a/net/rds/ib_recv.c
b/net/rds/ib_recv.c
index
e5ce934
..
1eaf255
100644
(file)
--- a/
net/rds/ib_recv.c
+++ b/
net/rds/ib_recv.c
@@
-1023,7
+1023,6
@@
int rds_ib_recv_path(struct rds_conn_path *cp)
{
struct rds_connection *conn = cp->cp_conn;
struct rds_ib_connection *ic = conn->c_transport_data;
- int ret = 0;
rdsdebug("conn %p\n", conn);
if (rds_conn_up(conn)) {
@@
-1032,7
+1031,7
@@
int rds_ib_recv_path(struct rds_conn_path *cp)
rds_ib_stats_inc(s_ib_rx_refill_from_thread);
}
- return
ret
;
+ return
0
;
}
int rds_ib_recv_init(void)