]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
V4L/DVB (12843): tm6000: cleanup: remove a test debug code
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 28 Nov 2008 09:42:24 +0000 (06:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:40:20 +0000 (00:40 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-core.c

index c56750338dd18a720c614b1a0bef81c42cc59cf0..d467326b8692609b1d12ce75df1a486fc5644e87 100644 (file)
@@ -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);