From: Mauro Carvalho Chehab Date: Fri, 28 Nov 2008 09:42:24 +0000 (-0300) Subject: V4L/DVB (12843): tm6000: cleanup: remove a test debug code X-Git-Tag: firefly_0821_release~9833^2~2094^2~463 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=edecce0a31b4447ee75dd0df34c7c5fc90ba6f6b;p=firefly-linux-kernel-4.4.55.git V4L/DVB (12843): tm6000: cleanup: remove a test debug code Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c index c56750338dd1..d467326b8692 100644 --- a/drivers/staging/tm6000/tm6000-core.c +++ b/drivers/staging/tm6000/tm6000-core.c @@ -51,8 +51,7 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req, memcpy(data, buf, len); } -// if (tm6000_debug & V4L2_DEBUG_I2C) { -if(1){ + if (tm6000_debug & V4L2_DEBUG_I2C) { if (!ini) last=ini=jiffies; @@ -82,8 +81,7 @@ if(1){ if (req_type & USB_DIR_IN) memcpy(buf, data, len); -// if (tm6000_debug & V4L2_DEBUG_I2C) { -if(1) { + if (tm6000_debug & V4L2_DEBUG_I2C) { if (ret<0) { if (req_type & USB_DIR_IN) printk("<<< (len=%d)\n",len);