aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-28 06:42:24 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:40:20 -0300
commitedecce0a31b4447ee75dd0df34c7c5fc90ba6f6b (patch)
tree172abe77a6f1e64a69e6224c12458a09c940ddb6 /drivers/staging/tm6000/tm6000-core.c
parentV4L/DVB (12842): tm6000: avoid kernel panic while retrieving the filling buffer (diff)
downloadlinux-dev-edecce0a31b4447ee75dd0df34c7c5fc90ba6f6b.tar.xz
linux-dev-edecce0a31b4447ee75dd0df34c7c5fc90ba6f6b.zip
V4L/DVB (12843): tm6000: cleanup: remove a test debug code
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-core.c')
-rw-r--r--drivers/staging/tm6000/tm6000-core.c6
1 files changed, 2 insertions, 4 deletions
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);