Skip to content

Commit

Permalink
delete unncessary CHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
helei committed Feb 19, 2019
1 parent 0d5372f commit 9c95920
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/brpc/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,6 @@ int Socket::WaitAndReset(int32_t expected_nref) {
_pipeline_q->clear();
}
}
CHECK(NULL == _write_head.load(butil::memory_order_relaxed));
CHECK_EQ(0, _unwritten_bytes.load(butil::memory_order_relaxed));
CHECK(!_overcrowded);
return 0;
Expand Down

0 comments on commit 9c95920

Please sign in to comment.