diff --git a/dumux/common/loggingparametertree.hh b/dumux/common/loggingparametertree.hh
index 0dc766d7ef29d8ee15caedeb23e197927d4bc24c..47ea8f898b7e13113f602f5ef5f738b298099807 100644
--- a/dumux/common/loggingparametertree.hh
+++ b/dumux/common/loggingparametertree.hh
@@ -126,14 +126,6 @@ public:
                                           std::string groupPrefix) const
     {
         std::vector<std::string> groupNames;
-        /*
-        if (groupPrefix == "" &&
-            (params_.hasSub(groupName) || defaultParams_.hasSub(groupName))
-        {
-            groupNames.push_back(groupName);
-            return groupNames;
-        }
-        */
         auto compoundGroup = groupPrefix.empty()? groupName : groupPrefix + "." + groupName;
         auto dot = groupPrefix.rfind(".");
 
diff --git a/test/freeflow/shallowwater/dambreak/main.cc b/test/freeflow/shallowwater/dambreak/main.cc
index 79816452c7ff1892c376b03912cf690542ee5a09..6c0fbb1219255a1e26f3f6382e8392c308cbf923 100644
--- a/test/freeflow/shallowwater/dambreak/main.cc
+++ b/test/freeflow/shallowwater/dambreak/main.cc
@@ -39,7 +39,6 @@
 #include <dumux/common/dumuxmessage.hh>
 
 #include <dumux/io/grid/gridmanager.hh>
-//#include <dumux/linear/amgbackend.hh>
 #include <dumux/linear/genericistlbackend.hh>
 
 #include <dumux/nonlinear/newtonsolver.hh>