parser json MAINTENANCE delete useless expressions

Subexpression (nodetype != LYS_LEAFLIST) is always true.
If the (status != LYJSON_NULL) remains, then (status = LYJSON_NULL)
violates the assert under the switch statement.
diff --git a/src/parser_json.c b/src/parser_json.c
index 149357e..eaaade8 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -723,7 +723,7 @@
     case LYS_ANYXML:
         expected = "@name/object";
 
-        LY_CHECK_GOTO(status != LYJSON_OBJECT && (nodetype != LYS_LEAFLIST || status != LYJSON_NULL), representation_error);
+        LY_CHECK_GOTO(status != LYJSON_OBJECT, representation_error);
         break;
     case LYS_CONTAINER:
     case LYS_LIST: