parser yin REFACTOR redundant code
diff --git a/src/parser_yin.c b/src/parser_yin.c
index fa44968..088e79d 100644
--- a/src/parser_yin.c
+++ b/src/parser_yin.c
@@ -3718,7 +3718,6 @@
                 ret = LY_EINT;
             }
             LY_CHECK_GOTO(ret, cleanup);
-            subelem = NULL;
 
             LY_CHECK_GOTO(ret = lyxml_ctx_next(ctx->xmlctx), cleanup);
         }