Browse Source

drop useless computation

Samuel Thibault 13 years ago
parent
commit
1c0133d9a8
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/drivers/driver_common/driver_common.c

+ 0 - 4
src/drivers/driver_common/driver_common.c

@@ -162,9 +162,5 @@ void _starpu_block_worker(int workerid, pthread_cond_t *cond, pthread_mutex_t *m
 
 	int profiling = starpu_profiling_status_get();
 	if (profiling)
-	{
-		struct timespec sleeping_time;
-		starpu_timespec_sub(&end_time, &start_time, &sleeping_time);
 		_starpu_worker_update_profiling_info_sleeping(workerid, &start_time, &end_time);
-	}
 }