ofp-actions: Remove unneeded redeclaration of vlog_rate_limit rl.
authorMarco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
Mon, 11 Nov 2013 18:54:06 +0000 (15:54 -0300)
committerBen Pfaff <blp@nicira.com>
Thu, 14 Nov 2013 17:00:57 +0000 (09:00 -0800)
Signed-off-by: Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-actions.c

index abc9505..91cee61 100644 (file)
@@ -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;