浏览代码

Drop unused variable

Samuel Thibault 11 年之前
父节点
当前提交
6b5492002c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/datawizard/interfaces/data_interface.c

+ 0 - 1
src/datawizard/interfaces/data_interface.c

@@ -685,7 +685,6 @@ static void _starpu_data_unregister(starpu_data_handle_t handle, unsigned cohere
 	/* Wait for all requests to finish (notably WT requests) */
 	/* Wait for all requests to finish (notably WT requests) */
 	STARPU_PTHREAD_MUTEX_LOCK(&handle->busy_mutex);
 	STARPU_PTHREAD_MUTEX_LOCK(&handle->busy_mutex);
 	while (1) {
 	while (1) {
-		int busy;
 		/* Here helgrind would shout that this an unprotected access,
 		/* Here helgrind would shout that this an unprotected access,
 		 * but this is actually fine: all threads who do busy_count--
 		 * but this is actually fine: all threads who do busy_count--
 		 * are supposed to call _starpu_data_check_not_busy, which will
 		 * are supposed to call _starpu_data_check_not_busy, which will