Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/misc/altera-stapl/altera.c: remove extraneous KERN_INFO prefix

The KERN_INFO prefix is being prepended to KERN_DEBUG when using the
dprink macro, Remove it as it is extraneous since we are printing the
message out as debug via dprintk().

Fixes smatch warning:

drivers/misc/altera-stapl/altera.c:2454 altera_init()
warn: KERN_* level not at start of string

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Igor M. Liplianin <liplianin@netup.ru>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Colin Ian King and committed by
Linus Torvalds
4ae555a5 3033f14a

+1 -1
+1 -1
drivers/misc/altera-stapl/altera.c
··· 2451 2451 2452 2452 astate->config = config; 2453 2453 if (!astate->config->jtag_io) { 2454 - dprintk(KERN_INFO "%s: using byteblaster!\n", __func__); 2454 + dprintk("%s: using byteblaster!\n", __func__); 2455 2455 astate->config->jtag_io = netup_jtag_io_lpt; 2456 2456 } 2457 2457