Przeglądaj źródła

Avoid duplicate test

Samuel Thibault 10 lat temu
rodzic
commit
7882cd8543
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
 		}