[ovs-dev] [PATCH] ofp-actions: Remove unneeded redeclaration of vlog_rate_limit rl in ofp-actions.c.

Marco Diego Aurélio Mesquita marcodiegomesquita at gmail.com
Mon Nov 11 18:54:06 UTC 2013


From: Marco Mesquita <marco_mesquita at atlantico.com.br>

Signed-off-by: Marco Diego Aurélio Mesquita <marcodiegomesquita at gmail.com>
---
 lib/ofp-actions.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
index 6c90d5c..6c02c64 100644
--- a/lib/ofp-actions.c
+++ b/lib/ofp-actions.c
@@ -697,7 +697,6 @@ ofpacts_pull_openflow_actions(struct ofpbuf *openflow,
                               unsigned int actions_len,
                               enum ofp_version version,
                               struct ofpbuf *ofpacts) {
-    static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
     const union ofp_action *actions;
     enum ofperr error;
 
@@ -1738,7 +1737,6 @@ ofpacts_pull_openflow_instructions(struct ofpbuf *openflow,
                                    enum ofp_version version,
                                    struct ofpbuf *ofpacts)
 {
-    static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
     const struct ofp11_instruction *instructions;
     const struct ofp11_instruction *insts[N_OVS_INSTRUCTIONS];
     enum ofperr error;
-- 
1.7.9.5




More information about the dev mailing list