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>
This commit is contained in:
parent
18103c57b0
commit
fe23a2809d
@ -2443,10 +2443,9 @@ static int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw)
|
|||||||
cptr = hdw->controls + idx;
|
cptr = hdw->controls + idx;
|
||||||
if (cptr->info->is_dirty == 0) continue;
|
if (cptr->info->is_dirty == 0) continue;
|
||||||
if (!cptr->info->is_dirty(cptr)) continue;
|
if (!cptr->info->is_dirty(cptr)) continue;
|
||||||
if (!commit_flag) {
|
commit_flag = !0;
|
||||||
commit_flag = !0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
if (!(pvrusb2_debug & PVR2_TRACE_CTL)) continue;
|
||||||
bcnt = scnprintf(buf,sizeof(buf),"\"%s\" <-- ",
|
bcnt = scnprintf(buf,sizeof(buf),"\"%s\" <-- ",
|
||||||
cptr->info->name);
|
cptr->info->name);
|
||||||
value = 0;
|
value = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user