XML parser CHANGE make lyxml_ns_rm() return just void, since it just frees
diff --git a/src/xml.c b/src/xml.c
index 9de0565..59991d6 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -216,9 +216,8 @@
  * @brief Remove all the namespaces defined in the element recently closed (removed from the context->elements).
  *
  * @param[in] context XML context to work with.
- * @return LY_ERR values.
  */
-LY_ERR
+void
 lyxml_ns_rm(struct lyxml_context *context)
 {
     unsigned int u;
@@ -239,8 +238,6 @@
         /* cleanup the context's namespaces storage */
         ly_set_erase(&context->ns, NULL);
     }
-
-    return LY_SUCCESS;
 }
 
 const struct lyxml_ns *
@@ -500,7 +497,7 @@
             --context->elements.count;
 
             /* remove also the namespaces conneted with the element */
-            rc = lyxml_ns_rm(context);
+            lyxml_ns_rm(context);
         }
     }
 
@@ -737,7 +734,7 @@
                 --context->elements.count;
 
                 /* remove also the namespaces conneted with the element */
-                rc = lyxml_ns_rm(context);
+                lyxml_ns_rm(context);
 
                 /* do not return element information to announce closing element being currently processed */
                 *name = *prefix = NULL;