From: Ben Pfaff Date: Fri, 16 May 2008 19:41:47 +0000 (-0700) Subject: Get rid of obsolete, commented-out debugging code in datapath.c. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94ce314ecb6eb46b769f84f38402161d52837c9c;p=openvswitch Get rid of obsolete, commented-out debugging code in datapath.c. --- diff --git a/datapath/datapath.c b/datapath/datapath.c index ef8094e2..f2d8a67d 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -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); }