Skip to content

Commit 599d975

Browse files
committed
schema mount REFACTOR redundant check
1 parent 9991f96 commit 599d975

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/plugins_exts/schema_mount.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,11 +1195,6 @@ schema_mount_validate(struct lysc_ext_instance *ext, struct lyd_node *node, cons
11951195
ly_bool ext_data_free = 0;
11961196
struct ly_set *ref_set = NULL;
11971197

1198-
if (!node) {
1199-
/* some data had to be parsed for this callback to be called */
1200-
EXT_LOGERR_INT_RET(NULL, ext);
1201-
}
1202-
12031198
if (!(node->flags & LYD_EXT)) {
12041199
/* no validation of the node with the mount-point */
12051200
goto cleanup;

0 commit comments

Comments
 (0)