[linux-dvb] [Patch] Removing duplicated KERN_DEBUG from dprintk calls in mt312.c

Matthias Schwarzott zzam at gentoo.org
Wed Oct 24 11:17:32 CEST 2007

Hi list!

This patch removes duplicated KERN_DEBUG flags from dprintk calls in mt312.c

This is the definition of dprintk there:
#define dprintk(args...) \
        do { \
                if (debug) printk(KERN_DEBUG "mt312: " args); \
        } while (0)

most calls look like this:
dprintk("R(%d)", reg & 0x7f);

but some do:
dprintk(KERN_DEBUG "sr(auto) = %u\n",
                       mt312_div(monitor * 15625, 4));

The attached patch removes the duplicated KERN_DEBUG flag.


Matthias Schwarzott (zzam)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_extra_KERN_DEBUG_from_dprintk.diff
Type: text/x-diff
Size: 1899 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20071024/737fa867/attachment.diff 

More information about the linux-dvb mailing list