sflow: Avoid "unused parameter" warnings from GCC 4.4.
[openvswitch] / utilities / ovs-openflowd.c
index b30695f49bd5f0e34fcb643d0ba372581d50898c..bb77d589658de070a0bf25b6be1e0a02e2ce75e5 100644 (file)
@@ -44,9 +44,9 @@
 #include "unixctl.h"
 #include "util.h"
 #include "vconn.h"
-
 #include "vlog.h"
-#define THIS_MODULE VLM_openflowd
+
+VLOG_DEFINE_THIS_MODULE(openflowd)
 
 /* Settings that may be configured by the user. */
 struct ofsettings {
@@ -96,7 +96,6 @@ main(int argc, char *argv[])
 
     proctitle_init(argc, argv);
     set_program_name(argv[0]);
-    vlog_init();
     parse_options(argc, argv, &s);
     signal(SIGPIPE, SIG_IGN);