Browse Source

V4L/DVB (12843): tm6000: cleanup: remove a test debug code

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 16 years ago
parent
commit
edecce0a31
1 changed files with 2 additions and 4 deletions
  1. 2 4
      drivers/staging/tm6000/tm6000-core.c

+ 2 - 4
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);