mirror of
https://github.com/ceph/ceph
synced 2025-01-11 05:29:51 +00:00
client: small msgr cleanup
This commit is contained in:
parent
b70e74b6ab
commit
7fb95543d5
@ -770,8 +770,6 @@ out:
|
||||
|
||||
static void process_connect(struct ceph_connection *con)
|
||||
{
|
||||
struct ceph_messenger *msgr = con->msgr;
|
||||
|
||||
dout(20, "process_connect on %p tag %d\n", con, (int)con->in_tag);
|
||||
clear_bit(CONNECTING, &con->state);
|
||||
if (!ceph_entity_addr_is_local(con->peer_addr, con->actual_peer_addr)) {
|
||||
@ -796,8 +794,7 @@ static void process_connect(struct ceph_connection *con)
|
||||
con->connect_seq);
|
||||
/*
|
||||
if (con->peer_connect_seq > con->connect_seq)
|
||||
/* callback */
|
||||
msgr->peer_reset(con);
|
||||
con->msgr->peer_reset(con);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user