]> git.baikalelectronics.ru Git - kernel.git/commit
arch/score/kernel/setup.c: combine two seq_printf() calls into one call in show_cpuinfo()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 6 Feb 2018 23:40:56 +0000 (15:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:47 +0000 (18:32 -0800)
commitfe8b250e7dae8c263e46db4c55f03ede75621467
tree8d65602d88151059853f77ab2c9019cd15d9f8f2
parent1946b8f37afb32bcaf787a2b2b55b1b04bacf917
arch/score/kernel/setup.c: combine two seq_printf() calls into one call in show_cpuinfo()

Some data were printed into a sequence by two separate function calls.
Print the same data by a single function call instead.

This issue was detected by using the Coccinelle software.

Link: http://lkml.kernel.org/r/ddcfff3a-9502-6ce0-b08a-365eb55ce958@users.sourceforge.net
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Cc: Chen Liqin <liqin.linux@gmail.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/score/kernel/setup.c