diff --git a/src/task.h b/src/task.h
index 7f050ea7524adc1008aa0746165c688fea8b0802..92db782f511753a273f716a3d465ec244789a978 100644
--- a/src/task.h
+++ b/src/task.h
@@ -156,11 +156,6 @@ struct task {
   /*! Weight of the task */
   float weight;
 
-#if defined(WITH_MPI) && (defined(HAVE_METIS) || defined(HAVE_PARMETIS))
-  /*! Individual cost estimate for this task. */
-  float cost;
-#endif
-
   /*! Number of tasks unlocked by this one */
   short int nr_unlock_tasks;