aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-01-19 22:10:55 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:38 -0500
commitfe23a2809d1f88887f7df7da38652826933b8ce6 (patch)
tree9c47f6963934492cf764e994975aa307884d56bd /drivers/media/video/pvrusb2/pvrusb2-hdw.c
parent18103c57b0168ebc0401702d483fe131f0aecc7a (diff)
V4L/DVB (5082): Pvrusb2: Slight debug printing efficiency fixup
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 4672199ae92d..776125491c81 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2443,10 +2443,9 @@ static int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw)
2443 cptr = hdw->controls + idx; 2443 cptr = hdw->controls + idx;
2444 if (cptr->info->is_dirty == 0) continue; 2444 if (cptr->info->is_dirty == 0) continue;
2445 if (!cptr->info->is_dirty(cptr)) continue; 2445 if (!cptr->info->is_dirty(cptr)) continue;
2446 if (!commit_flag) { 2446 commit_flag = !0;
2447 commit_flag = !0;
2448 }
2449 2447
2448 if (!(pvrusb2_debug & PVR2_TRACE_CTL)) continue;
2450 bcnt = scnprintf(buf,sizeof(buf),"\"%s\" <-- ", 2449 bcnt = scnprintf(buf,sizeof(buf),"\"%s\" <-- ",
2451 cptr->info->name); 2450 cptr->info->name);
2452 value = 0; 2451 value = 0;