Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.cfa

    r4ccc150 r18f7858  
    642642
    643643        switch(fd) {
    644                 __attribute__((unused)) int ret;
    645644        case 0:
    646645                // If the processor isn't ready to sleep then the exchange will already wake it up
     
    660659                // If the processor was ready to sleep, we need to wake it up with an actual write
    661660                val = 1;
    662                 ret = eventfd_write( fd, val );
    663                 /* paranoid */ verifyf( ret == 0, "Expected return to be 0, was %d\n", ret );
     661                eventfd_write( fd, val );
    664662
    665663                #if !defined(__CFA_NO_STATISTICS__)
     
    684682        this->idle_wctx.sem = 1;
    685683
    686         this->idle_wctx.wake__time = rdtscl();
    687 
    688684        eventfd_t val;
    689685        val = 1;
    690         __attribute__((unused)) int ret = eventfd_write( this->idle_wctx.evfd, val );
    691 
    692         /* paranoid */ verifyf( ret == 0, "Expected return to be 0, was %d\n", ret );
     686        eventfd_write( this->idle_wctx.evfd, val );
     687
    693688        /* paranoid */ verify( ! __preemption_enabled() );
    694689}
Note: See TracChangeset for help on using the changeset viewer.