media: dvb_frontend: don't print function names twice
The dvb_frontend dprintk() macro already prints __func__. So, we don't need to add it again at the printed message. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
c06ef2e9ac
commit
807b8675a6
|
@ -2587,8 +2587,8 @@ static int dvb_frontend_handle_ioctl(struct file *file,
|
||||||
u8 last = 1;
|
u8 last = 1;
|
||||||
|
|
||||||
if (dvb_frontend_debug)
|
if (dvb_frontend_debug)
|
||||||
dprintk("%s switch command: 0x%04lx\n",
|
dprintk("switch command: 0x%04lx\n",
|
||||||
__func__, swcmd);
|
swcmd);
|
||||||
nexttime = ktime_get_boottime();
|
nexttime = ktime_get_boottime();
|
||||||
if (dvb_frontend_debug)
|
if (dvb_frontend_debug)
|
||||||
tv[0] = nexttime;
|
tv[0] = nexttime;
|
||||||
|
@ -2611,8 +2611,8 @@ static int dvb_frontend_handle_ioctl(struct file *file,
|
||||||
dvb_frontend_sleep_until(&nexttime, 8000);
|
dvb_frontend_sleep_until(&nexttime, 8000);
|
||||||
}
|
}
|
||||||
if (dvb_frontend_debug) {
|
if (dvb_frontend_debug) {
|
||||||
dprintk("%s(%d): switch delay (should be 32k followed by all 8k)\n",
|
dprintk("(adapter %d): switch delay (should be 32k followed by all 8k)\n",
|
||||||
__func__, fe->dvb->num);
|
fe->dvb->num);
|
||||||
for (i = 1; i < 10; i++)
|
for (i = 1; i < 10; i++)
|
||||||
pr_info("%d: %d\n", i,
|
pr_info("%d: %d\n", i,
|
||||||
(int)ktime_us_delta(tv[i], tv[i - 1]));
|
(int)ktime_us_delta(tv[i], tv[i - 1]));
|
||||||
|
|
Loading…
Reference in New Issue