diff --git a/ProcessLib/GroundwaterFlowProcess.h b/ProcessLib/GroundwaterFlowProcess.h
index 5e811c3af702c87b6200b2349b4038ffa76ec795..a0111498e187d2a603269367184d9e21a34df9bb 100644
--- a/ProcessLib/GroundwaterFlowProcess.h
+++ b/ProcessLib/GroundwaterFlowProcess.h
@@ -75,7 +75,6 @@ public:
                 name.c_str());
             this->_process_variables.emplace_back(
                 const_cast<ProcessVariable*>(&*variable));
-            _hydraulic_head = this->_process_variables.back();
         }
 
         // Hydraulic conductivity parameter.
@@ -249,8 +248,6 @@ public:
     }
 
 private:
-    ProcessVariable* _hydraulic_head = nullptr;
-
     Parameter<double, MeshLib::Element const&> const* _hydraulic_conductivity = nullptr;
 
     using LocalAssembler = GroundwaterFlow::LocalAssemblerDataInterface<