]> git.baikalelectronics.ru Git - kernel.git/commit
printk: Remove unnecessary #ifdef CONFIG_PRINTK
authorAndreas Ziegler <andreas.ziegler@fau.de>
Thu, 4 Aug 2016 07:52:09 +0000 (09:52 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Aug 2016 18:29:39 +0000 (11:29 -0700)
commitd20a7cd376baf4d41c5656e5290982bb8417854e
tree0fee6ecf9ff36c1678ee09f964aada4de5010ad7
parent28791dbe4f48a865d1a98004712fb1e5748c625a
printk: Remove unnecessary #ifdef CONFIG_PRINTK

In commit 6157d469ff8c ("printk: create pr_<level> functions"), new
pr_level defines were added to printk.c.

These new defines are guarded by an #ifdef CONFIG_PRINTK - however,
there is already a surrounding #ifdef CONFIG_PRINTK starting a lot
earlier in line 249 which means the newly introduced #ifdef is
unnecessary.

Let's remove it to avoid confusion.

Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de>
Cc: Joe Perches <joe@perches.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk/printk.c