diff --git a/Applications/FileIO/GMSInterface.cpp b/Applications/FileIO/GMSInterface.cpp
index 2d0982063d3cda00391f4d299f8f47fd5af1cd4d..656da9da4bad958cf486ceeb1970804d977cff8a 100644
--- a/Applications/FileIO/GMSInterface.cpp
+++ b/Applications/FileIO/GMSInterface.cpp
@@ -177,7 +177,6 @@ void GMSInterface::writeBoreholesToGMS(
             {
                 continue;
             }
-            // idx = getSoilID(soilID, soilNames[i]);
             current_soil_name = soilNames[i];
 
             out << station->getName() << "\t" << std::fixed
@@ -195,20 +194,6 @@ void GMSInterface::writeBoreholesToGMS(
     out.close();
 }
 
-std::size_t GMSInterface::getSoilID(std::vector<std::string>& soilID,
-                                    std::string& soilName)
-{
-    for (std::size_t j = 0; j < soilID.size(); j++)
-    {
-        if (soilID[j] == soilName)
-        {
-            return j;
-        }
-    }
-    soilID.push_back(soilName);
-    return soilID.size() - 1;
-}
-
 int GMSInterface::writeSoilIDTable(const std::vector<std::string>& soilID,
                                    const std::string& filename)
 {
diff --git a/Applications/FileIO/GMSInterface.h b/Applications/FileIO/GMSInterface.h
index 6b3a6d9c9c2f576157bf220c83f81664cabe39bc..6b3640bdfe42d5d0df4d4bbfc6bf2daff38bf784 100644
--- a/Applications/FileIO/GMSInterface.h
+++ b/Applications/FileIO/GMSInterface.h
@@ -79,11 +79,6 @@ private:
      */
     static std::vector<std::string> readSoilIDfromFile(
         const std::string& filename);
-
-    /// Finds the ID assigned to soilName or creates a new one ( this method is
-    /// called from writeBoreholeToGMS() )
-    static std::size_t getSoilID(std::vector<std::string>& soilID,
-                                 std::string& soilName);
 };
 
 }  // namespace FileIO