diff options
author | Ben Pfaff <blp@ovn.org> | 2016-08-24 14:53:52 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-10-19 11:39:08 -0700 |
commit | 74e98efd3e2f4168e50d46fe4635678a0bab3b80 (patch) | |
tree | 3bfd50dae63098b4d4a08579c3e1bb3ff933d99e /ovn | |
parent | cad9a9966afe0cf4aaa5d00d98d090c06fc5f9ad (diff) | |
download | openvswitch-74e98efd3e2f4168e50d46fe4635678a0bab3b80.tar.gz |
ovsdb-idlc: Eliminate <prefix>_init() function from generated code.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
Diffstat (limited to 'ovn')
-rw-r--r-- | ovn/controller-vtep/ovn-controller-vtep.c | 3 | ||||
-rw-r--r-- | ovn/controller/ovn-controller.c | 3 | ||||
-rw-r--r-- | ovn/northd/ovn-northd.c | 3 | ||||
-rw-r--r-- | ovn/utilities/ovn-nbctl.c | 1 | ||||
-rw-r--r-- | ovn/utilities/ovn-sbctl.c | 1 | ||||
-rw-r--r-- | ovn/utilities/ovn-trace.c | 1 |
6 files changed, 0 insertions, 12 deletions
diff --git a/ovn/controller-vtep/ovn-controller-vtep.c b/ovn/controller-vtep/ovn-controller-vtep.c index baee78960..d73f624a8 100644 --- a/ovn/controller-vtep/ovn-controller-vtep.c +++ b/ovn/controller-vtep/ovn-controller-vtep.c @@ -76,9 +76,6 @@ main(int argc, char *argv[]) daemonize_complete(); - vteprec_init(); - sbrec_init(); - /* Connect to VTEP database. */ struct ovsdb_idl_loop vtep_idl_loop = OVSDB_IDL_LOOP_INITIALIZER( ovsdb_idl_create(vtep_remote, &vteprec_idl_class, true, true)); diff --git a/ovn/controller/ovn-controller.c b/ovn/controller/ovn-controller.c index 4ac1425ef..944c40399 100644 --- a/ovn/controller/ovn-controller.c +++ b/ovn/controller/ovn-controller.c @@ -427,9 +427,6 @@ main(int argc, char *argv[]) daemonize_complete(); - ovsrec_init(); - sbrec_init(); - ofctrl_init(&group_table); pinctrl_init(); lflow_init(); diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c index 9d74ec6b2..ad0739c51 100644 --- a/ovn/northd/ovn-northd.c +++ b/ovn/northd/ovn-northd.c @@ -4777,9 +4777,6 @@ main(int argc, char *argv[]) daemonize_complete(); - nbrec_init(); - sbrec_init(); - /* We want to detect (almost) all changes to the ovn-nb db. */ struct ovsdb_idl_loop ovnnb_idl_loop = OVSDB_IDL_LOOP_INITIALIZER( ovsdb_idl_create(ovnnb_db, &nbrec_idl_class, true, true)); diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c index ad2d2f84f..df1c40528 100644 --- a/ovn/utilities/ovn-nbctl.c +++ b/ovn/utilities/ovn-nbctl.c @@ -99,7 +99,6 @@ main(int argc, char *argv[]) fatal_ignore_sigpipe(); vlog_set_levels(NULL, VLF_CONSOLE, VLL_WARN); vlog_set_levels_from_string_assert("reconnect:warn"); - nbrec_init(); nbctl_cmd_init(); diff --git a/ovn/utilities/ovn-sbctl.c b/ovn/utilities/ovn-sbctl.c index b894b8b86..afc350acc 100644 --- a/ovn/utilities/ovn-sbctl.c +++ b/ovn/utilities/ovn-sbctl.c @@ -97,7 +97,6 @@ main(int argc, char *argv[]) fatal_ignore_sigpipe(); vlog_set_levels(NULL, VLF_CONSOLE, VLL_WARN); vlog_set_levels_from_string_assert("reconnect:warn"); - sbrec_init(); sbctl_cmd_init(); diff --git a/ovn/utilities/ovn-trace.c b/ovn/utilities/ovn-trace.c index 7863f70d6..3d62cf87b 100644 --- a/ovn/utilities/ovn-trace.c +++ b/ovn/utilities/ovn-trace.c @@ -76,7 +76,6 @@ main(int argc, char *argv[]) service_start(&argc, &argv); fatal_ignore_sigpipe(); vlog_set_levels_from_string_assert("reconnect:warn"); - sbrec_init(); /* Parse command line. */ parse_options(argc, argv); |