Remove uneeded lock

pull/17738/head
ncteisen 6 years ago
parent eebfcd7e11
commit 92c4dffc17
  1. 1
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc

@ -1208,7 +1208,6 @@ void GrpcLb::FillChildRefsForChannelz(
channelz::ChildRefsList* child_channels) {
// delegate to the RoundRobin to fill the children subchannels.
rr_policy_->FillChildRefsForChannelz(child_subchannels, child_channels);
MutexLock lock(&lb_channel_mu_);
if (lb_channel_ != nullptr) {
grpc_core::channelz::ChannelNode* channel_node =
grpc_channel_get_channelz_node(lb_channel_);

Loading…
Cancel
Save