Removed unused variable
authorkhizmax <libcds.dev@gmail.com>
Sat, 11 Jul 2015 11:09:43 +0000 (14:09 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sat, 11 Jul 2015 11:09:43 +0000 (14:09 +0300)
cds/urcu/details/sig_threaded.h

index 4471183fcb8ccd5d611275638b7f46716a6c2720..93e1aa240aeb77e7996cba6653e7fc9752c315d2 100644 (file)
@@ -167,10 +167,8 @@ namespace cds { namespace urcu {
         */
         virtual void retire_ptr( retired_ptr& p )
         {
-            if ( p.m_p ) {
-                epoch_retired_ptr ep( p, m_nCurEpoch.load( atomics::memory_order_acquire ) );
+            if ( p.m_p )
                 push_buffer( epoch_retired_ptr( p, m_nCurEpoch.load( atomics::memory_order_acquire )));
-            }
         }
 
         /// Retires the pointer chain [\p itFirst, \p itLast)