소스 검색

Avoid duplicate test

Samuel Thibault 10 년 전
부모
커밋
7882cd8543
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/datawizard/footprint.c

+ 1 - 1
src/datawizard/footprint.c

@@ -49,7 +49,7 @@ uint32_t _starpu_compute_buffers_footprint(struct starpu_perfmodel *model, struc
 
 	if (model)
 	{
-		if (model && model->footprint)
+		if (model->footprint)
 		{
 			footprint = model->footprint(task);
 		}