diff --git a/include/lsgrmGraphOperations.h b/include/lsgrmGraphOperations.h
index 00b1b5771f7d13e4e0539e0f764b7bcd0a58ada6..71485c16f7819785236483e021559576ab4c651b 100644
--- a/include/lsgrmGraphOperations.h
+++ b/include/lsgrmGraphOperations.h
@@ -73,10 +73,6 @@ long long unsigned int RunPartialSegmentation(
 template<class TSegmenter>
 void RemoveUselessNodes(ProcessingTile& tile,
     typename TSegmenter::GraphType& graph,
-    const unsigned int rowTile,
-    const unsigned int colTile,
-    const unsigned int nbTilesX,
-    const unsigned int nbTilesY,
     const unsigned int imageWidth,
     const unsigned int numberOfLayers);
 
diff --git a/include/lsgrmGraphOperations.txx b/include/lsgrmGraphOperations.txx
index d0c7d274787177a644f8f0adeb43787dbac91395..63a884d35c87d8e69e84aa6a4f4cb9c3be398841 100644
--- a/include/lsgrmGraphOperations.txx
+++ b/include/lsgrmGraphOperations.txx
@@ -153,7 +153,7 @@ long long unsigned int RunPartialSegmentation(const typename TSegmenter::ParamTy
 
           std::cout << "\tRemove useless.." << std::endl;
           RemoveUselessNodes<TSegmenter>(currentTile, segmenter.m_Graph,
-              row, col, nbTilesX, nbTilesY, imageWidth, numberOfNeighborLayers);
+              imageWidth, numberOfNeighborLayers);
 
         }
 
@@ -231,10 +231,6 @@ long long unsigned int RunPartialSegmentation(const typename TSegmenter::ParamTy
 template<class TSegmenter>
 void RemoveUselessNodes(ProcessingTile& tile,
     typename TSegmenter::GraphType& graph,
-    const unsigned int rowTile,
-    const unsigned int colTile,
-    const unsigned int nbTilesX,
-    const unsigned int nbTilesY,
     const unsigned int imageWidth,
     const unsigned int numberOfLayers)
 {