Merge pull request #27766 from majianpeng/msg-noneed-set-connection

msg/async: no-need set connection for Message.

Reviewed-by: Ricardo Dias <rdias@suse.com>
This commit is contained in:
Kefu Chai 2019-04-28 19:20:49 +08:00 committed by GitHub
commit 2ff7c1328b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -971,8 +971,6 @@ CtPtr ProtocolV1::handle_message_footer(char *buffer, int r) {
}
}
message->set_connection(connection);
#if defined(WITH_LTTNG) && defined(WITH_EVENTTRACE)
if (message->get_type() == CEPH_MSG_OSD_OP ||
message->get_type() == CEPH_MSG_OSD_OPREPLY) {

View File

@ -1448,8 +1448,6 @@ CtPtr ProtocolV2::handle_message() {
}
}
message->set_connection(connection);
#if defined(WITH_LTTNG) && defined(WITH_EVENTTRACE)
if (message->get_type() == CEPH_MSG_OSD_OP ||
message->get_type() == CEPH_MSG_OSD_OPREPLY) {