]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
printk: use pointer for console_cmdline indexing
authorJoe Perches <joe@perches.com>
Thu, 18 Jul 2013 23:56:28 +0000 (09:56 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 18 Jul 2013 23:56:28 +0000 (09:56 +1000)
commitc8976e8a4399087839c4b3540422cbfeb7dd31a1
tree2e2c1e08d6d39a15b03d385fcc5ee9b523b1279a
parent7f8ab4eb7123d9098947126624dd09d5e930edbb
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: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/printk/printk.c