From: xie xingguo Date: Fri, 11 Nov 2016 03:43:15 +0000 (+0800) Subject: os/bluestore: remove dead assert X-Git-Tag: v11.1.0~329^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11910%2Fhead;p=ceph.git os/bluestore: remove dead assert This assert will never fire, hence it can be safely removed. Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index faba829638af..921b5f222f50 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -1355,7 +1355,6 @@ public: if (txc->state >= TransContext::STATE_KV_DONE) { return true; } - assert(txc->state < TransContext::STATE_KV_DONE); txc->oncommits.push_back(c); return false; }