diff options
Diffstat (limited to 'ctrl/sysrepo-plugins/hicn-light/plugin/hicn_light.c')
-rw-r--r-- | ctrl/sysrepo-plugins/hicn-light/plugin/hicn_light.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ctrl/sysrepo-plugins/hicn-light/plugin/hicn_light.c b/ctrl/sysrepo-plugins/hicn-light/plugin/hicn_light.c index 6cfc0b52b..b2495f730 100644 --- a/ctrl/sysrepo-plugins/hicn-light/plugin/hicn_light.c +++ b/ctrl/sysrepo-plugins/hicn-light/plugin/hicn_light.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Cisco and/or its affiliates. + * Copyright (c) 2021 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -21,8 +21,6 @@ #include "hicn_light.h" #include "model/hicn_model.h" - - sr_subscription_ctx_t *subscription = NULL; volatile int exit_application = 0; @@ -37,7 +35,6 @@ int sr_plugin_init_cb(sr_session_ctx_t *session, void **private_ctx) { hicn_subscribe_events(session, &subscription); - /* set subscription as our private context */ *private_ctx = subscription; return SR_ERR_OK; |