]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/throttle: simplify Throttle::_wait() 11165/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 21 Sep 2016 08:19:04 +0000 (16:19 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 21 Sep 2016 09:08:48 +0000 (17:08 +0800)
commit3ab5ef39649dfeedbfc9e0ae56d7f69ac7393d20
treefaed7204d80aae84f258b8b3ffa5f07afac6b42f
parentcbe2700c9793e14c40c6e6b312439ecc8e808cc7
common/throttle: simplify Throttle::_wait()

We don't have to check/set the "waited" member when falling into this branch,
which is deemed to be true.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/common/Throttle.cc