From: Justin Pettit Date: Wed, 3 Mar 2010 20:49:12 +0000 (-0800) Subject: veth: Remove obvious debug printk's X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cc5de3c360fcf3f9de0ef37229cf411dc362c1;p=openvswitch veth: Remove obvious debug printk's --- diff --git a/datapath/linux-2.6/compat-2.6/veth.c b/datapath/linux-2.6/compat-2.6/veth.c index 3cda3365..e609c627 100644 --- a/datapath/linux-2.6/compat-2.6/veth.c +++ b/datapath/linux-2.6/compat-2.6/veth.c @@ -437,22 +437,18 @@ static ssize_t veth_store_veth_pairs(struct class *cls, const char *buffer, { int c = *buffer++; int retval; - printk("1\n"); if (c == '+') { char devname[IFNAMSIZ + 1] = ""; char peername[IFNAMSIZ + 1] = ""; char *comma = strchr(buffer, ','); - printk("2\n"); if (!comma) goto err_no_cmd; strncat(devname, buffer, min_t(int, sizeof devname, comma - buffer)); strncat(peername, comma + 1, min_t(int, sizeof peername, strcspn(comma + 1, "\n"))); - printk("3 '%s' '%s'\n", devname, peername); if (!dev_valid_name(devname) || !dev_valid_name(peername)) goto err_no_cmd; - printk("4\n"); rtnl_lock(); retval = veth_newlink(devname, peername); rtnl_unlock();