diff --git a/dumux/material/fluidstates/immiscible.hh b/dumux/material/fluidstates/immiscible.hh
index f041a43c15d77846ed8546ccd351afa7c734a256..e03e69332b02bac5aeb507676e700879551f0236 100644
--- a/dumux/material/fluidstates/immiscible.hh
+++ b/dumux/material/fluidstates/immiscible.hh
@@ -65,11 +65,6 @@ public:
      * Generic access to fluid properties (No assumptions
      * on thermodynamic equilibrium required)
      *****************************************************/
-    /*!
-     * \brief Returns the index of the wetting phase in the
-     *        fluid-solid configuration (for porous medium systems).
-     */
-    int wettingPhase() const { return wPhaseIdx_; }
 
     /*!
      * \brief Returns the saturation \f$S_\alpha\f$ of a fluid phase \f$\alpha\f$ in \f$\mathrm{[-]}\f$.
@@ -286,7 +281,6 @@ public:
             viscosity_[phaseIdx] = fs.viscosity(phaseIdx);
             temperature_[phaseIdx] = fs.temperature(0);
         }
-        wPhaseIdx_ = fs.wettingPhase();
     }
 
     /*!
@@ -339,13 +333,6 @@ public:
      */
     void setViscosity(int phaseIdx, Scalar value)
     { viscosity_[phaseIdx] = value; }
-
-    /*!
-     * \brief Set the index of the wetting phase
-     */
-    void setWettingPhase(int phaseIdx)
-    { wPhaseIdx_ = phaseIdx; }
-
 protected:
     //! zero-initialize all data members with braces syntax
     Scalar pressure_[numPhases] = {};
@@ -355,9 +342,6 @@ protected:
     Scalar enthalpy_[numPhases] = {};
     Scalar viscosity_[numPhases] = {};
     Scalar temperature_[numPhases] = {};
-
-    // For porous medium flow models the index of the wetting
-    int wPhaseIdx_{0};
 };
 
 } // end namespace Dumux
diff --git a/test/material/immiscibleflash/test_immiscibleflash.cc b/test/material/immiscibleflash/test_immiscibleflash.cc
index f6135005bd8e81524e4d5712318ac13cad39a53d..e0090971108a33e46d2516ea85265716099bb00b 100644
--- a/test/material/immiscibleflash/test_immiscibleflash.cc
+++ b/test/material/immiscibleflash/test_immiscibleflash.cc
@@ -232,8 +232,6 @@ int main()
     fsRef.setSaturation(liquidPhaseIdx, 0.5);
     fsRef.setPressure(liquidPhaseIdx, 1e6);
 
-    fsRef.setWettingPhase(liquidPhaseIdx);
-
     // set the remaining parameters of the reference fluid state
     completeReferenceFluidState<Scalar, FluidSystem, MPAdapter>(fsRef, matParams, liquidPhaseIdx);