From: khizmax Date: Sun, 23 Apr 2017 21:35:07 +0000 (+0300) Subject: Removed odd assert X-Git-Tag: v2.3.0~60 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6c9becb9d6b836bf6ce0f873a56b6cafd11c18c6;p=libcds.git Removed odd assert --- diff --git a/cds/urcu/details/sh.h b/cds/urcu/details/sh.h index fd37602d..8d0969f2 100644 --- a/cds/urcu/details/sh.h +++ b/cds/urcu/details/sh.h @@ -69,7 +69,6 @@ namespace cds { namespace urcu { namespace details { assert( pRec != nullptr ); uint32_t tmp = pRec->m_nAccessControl.load( atomics::memory_order_relaxed ); - assert( ( tmp & rcu_class::c_nNestMask ) > 0 ); if ( (tmp & rcu_class::c_nNestMask) == 0 ) { pRec->m_nAccessControl.store( sh_singleton::instance()->global_control_word(atomics::memory_order_relaxed),