Browse Source

src/core/workers.h: - we no longer need to maintin ABI compatibility as type is private - always define struct starpu_tree *tree

Nathalie Furmento 11 years ago
parent
commit
455285f263
1 changed files with 2 additions and 5 deletions
  1. 2 5
      src/core/workers.h

+ 2 - 5
src/core/workers.h

@@ -169,16 +169,13 @@ struct _starpu_machine_topology
 	unsigned ncombinedworkers;
 
 	unsigned nsched_ctxs;
+
 #ifdef STARPU_HAVE_HWLOC
 	/* Topology as detected by hwloc. */
 	hwloc_topology_t hwtopology;
-
+#endif
 	/* custom hwloc tree*/
 	struct starpu_tree *tree;
-#else
-	/* We maintain ABI compatibility with and without hwloc */
-	void *dummy;
-#endif
 
 	/* Total number of CPUs, as detected by the topology code. May
 	 * be different from the actual number of CPU workers.