]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: use pointer for console_cmdline indexing
authorJoe Perches <joe@perches.com>
Tue, 23 Oct 2012 02:50:17 +0000 (13:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 24 Oct 2012 03:20:14 +0000 (14:20 +1100)
commit68e5755832718259211684885c5f4a63554b35be
treedb220c04934ab6701547f373c60f6ed51bfec4ad
parentdd5b858aff6348c5eda4fb3c2b0cb28c47f6588d
printk: use pointer for console_cmdline indexing

Make the code a bit more compact by always using a pointer
for the active console_cmdline.

Move overly indented code to correct indent level.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Kay Sievers <kay@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/printk/printk.c