Get rid of obsolete, commented-out debugging code in datapath.c.
authorBen Pfaff <blp@nicira.com>
Fri, 16 May 2008 19:41:47 +0000 (12:41 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 28 May 2008 16:58:22 +0000 (09:58 -0700)
datapath/datapath.c

index ef8094e204a70c41306bcaee8e9be5cf008135ee..f2d8a67d4981721d684769554833d953ff508a82 100644 (file)
@@ -424,14 +424,7 @@ static int dp_maint_func(void *data)
        struct datapath *dp = (struct datapath *) data;
 
        while (!kthread_should_stop()) {
-#if 1
                chain_timeout(dp->chain);
-#else
-               int count = chain_timeout(dp->chain);
-               chain_print_stats(dp->chain);
-               if (count)
-                       printk("%d flows timed out\n", count);
-#endif
                msleep_interruptible(MAINT_SLEEP_MSECS);
        }