Skip to content

Commit

Permalink
interfaces-plugin: remove unnecessary sr_copy_config() call
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Oct 31, 2022
1 parent 2a9fb2d commit 74df93a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/interfaces/src/plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,6 @@ int sr_plugin_init_cb(sr_session_ctx_t* running_session, void** private_data)

// check and store startup data on the system
SRPC_SAFE_CALL_ERR(error, interfaces_startup_store(ctx, startup_session), error_out);

// copy contents of the startup session to the current running session
SRPC_SAFE_CALL_ERR(error, sr_copy_config(running_session, IETF_INTERFACES_YANG_MODULE, SR_DS_STARTUP, 0), error_out);
}

// subscribe every module change
Expand Down

0 comments on commit 74df93a

Please sign in to comment.