secchan: Remove obsolete debug printf()s.
authorBen Pfaff <blp@nicira.com>
Thu, 5 Mar 2009 01:34:04 +0000 (17:34 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Mar 2009 01:34:50 +0000 (17:34 -0800)
secchan/ofproto.c

index 7828b134967f50fd75bd1b39f0e7ff602f373ef6..4fbd4d5c40664e820061f4dc86d767c0bdeda83b 100644 (file)
@@ -2680,13 +2680,6 @@ expire_rule(struct cls_rule *cls_rule, void *p_)
         }
     }
 
-#if 0
-    printf("expiring rule (%s): ",
-           (now >= hard_expiration ? "hard" : "idle"));
-    flow_print(stdout, &rule->cr.flow);
-    printf("\n");
-#endif
-
     send_flow_exp(p, rule, now,
                   (now >= hard_expiration
                    ? OFPER_HARD_TIMEOUT : OFPER_IDLE_TIMEOUT));
@@ -2714,9 +2707,6 @@ update_used(struct ofproto *p)
         rule = rule_from_cls_rule(
             classifier_find_rule_exactly(&p->cls, &f->key, 0, UINT16_MAX));
         if (!rule) {
-            printf("deleting mysterious rule from datapath\n");
-            flow_print(stdout, &f->key);
-            printf("\n");
             dpif_flow_del(&p->dpif, f);
             continue;
         }