xpath CHANGE name function not supported
diff --git a/src/xpath.c b/src/xpath.c
index 582aead..961abc3 100644
--- a/src/xpath.c
+++ b/src/xpath.c
@@ -2481,33 +2481,6 @@
     return EXIT_SUCCESS;
 }
 
-/** TODO after JSON parser is implemented
- * @brief Execute the XPath name(node-set?) function. Returns LYXP_SET_STRING
- *        with the full node name from the argument or the context.
- *
- * @param[in] args Array of arguments.
- * @param[in] arg_count Count of elements in \p args.
- * @param[in] cur_node Original context node.
- * @param[in,out] set Context and result set at the same time.
- * @param[in] line Line in the input file.
- * @param[in] is_snode Whether we are working with the schema or data.
- *
- * @return EXIT_SUCCESS on success, -1 on error.
- */
-static int
-xpath_name(struct lyxp_set *args, uint16_t arg_count, struct lyd_node *cur_node, struct lyxp_set *set, uint32_t line)
-{
-    struct ly_ctx *ctx;
-
-    ctx = cur_node->schema->module->ctx;
-
-    (void)args;
-    (void)arg_count;
-    (void)line;
-    set_fill_string(set, "", 0, ctx);
-    return EXIT_SUCCESS;
-}
-
 /**
  * @brief Execute the XPath namespace-uri(node-set?) function. Returns LYXP_SET_STRING
  *        with the namespace of the node from the argument or the context.
@@ -5378,8 +5351,6 @@
                 xpath_func = &xpath_lang;
             } else if (!strncmp(&exp->expr[exp->expr_pos[*exp_idx]], "last", 4)) {
                 xpath_func = &xpath_last;
-            } else if (!strncmp(&exp->expr[exp->expr_pos[*exp_idx]], "name", 4)) {
-                xpath_func = &xpath_name;
             } else if (!strncmp(&exp->expr[exp->expr_pos[*exp_idx]], "true", 4)) {
                 xpath_func = &xpath_true;
             }
diff --git a/src/xpath.h b/src/xpath.h
index 824b32b..fbc59e6 100644
--- a/src/xpath.h
+++ b/src/xpath.h
@@ -34,10 +34,10 @@
  * PARSED GRAMMAR
  *
  * Full axes are not supported, abbreviated forms must be used,
- * variables are not supported, "id()" function is not supported,
- * and processing instruction and comment nodes are not supported,
- * which is also reflected in the grammar. Undefined rules and
- * constants are tokens.
+ * variables are not supported, "id()" and "name(node-set?)"
+ * functions are not supported, and processing instruction and
+ * comment nodes are not supported, which is also reflected in
+ * the grammar. Undefined rules and constants are tokens.
  *
  * Modified full grammar:
  *