summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-28 07:42:24 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-28 07:42:24 -0200
commitbb83e9e161e038239d0e9688fa9d4ba112d200f4 (patch)
treec9ff4d23ff80c490f9209a7bba51245f3c663e6f /linux/drivers
parent51a176c3be0ea97b23912d5854262a82b0ac0a85 (diff)
downloadmediapointer-dvb-s2-bb83e9e161e038239d0e9688fa9d4ba112d200f4.tar.gz
mediapointer-dvb-s2-bb83e9e161e038239d0e9688fa9d4ba112d200f4.tar.bz2
tm6000: cleanup: remove a test debug code
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/staging/tm6000/tm6000-core.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-core.c b/linux/drivers/staging/tm6000/tm6000-core.c
index cb971dfbc..816b03bb5 100644
--- a/linux/drivers/staging/tm6000/tm6000-core.c
+++ b/linux/drivers/staging/tm6000/tm6000-core.c
@@ -56,8 +56,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;
@@ -87,8 +86,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);