From d6fa0c3a89e79fe1e39c24429c975bddde3a67ba Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Mon, 14 Jan 2019 17:17:10 +0800
Subject: [PATCH] Removed the top-level FFT task from the space strucutre. This
 is not used any more.

---
 src/space.c | 1 -
 src/space.h | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/src/space.c b/src/space.c
index e0cb1501d3..d930bcdcab 100644
--- a/src/space.c
+++ b/src/space.c
@@ -4434,7 +4434,6 @@ void space_struct_restore(struct space *s, FILE *stream) {
   s->local_cells_with_tasks_top = NULL;
   s->cells_with_particles_top = NULL;
   s->local_cells_with_particles_top = NULL;
-  s->grav_top_level = NULL;
   s->nr_local_cells_with_tasks = 0;
   s->nr_cells_with_particles = 0;
 #ifdef WITH_MPI
diff --git a/src/space.h b/src/space.h
index 84e71c9b55..f3e058e684 100644
--- a/src/space.h
+++ b/src/space.h
@@ -207,9 +207,6 @@ struct space {
   /*! The s-particle data (cells have pointers to this). */
   struct spart *sparts;
 
-  /*! The top-level FFT task */
-  struct task *grav_top_level;
-
   /*! Minimal mass of all the #part */
   float min_part_mass;
 
-- 
GitLab