]> Git Repo - linux.git/commit
printk: Remove unnecessary #ifdef CONFIG_PRINTK
authorAndreas Ziegler <[email protected]>
Thu, 4 Aug 2016 07:52:09 +0000 (09:52 +0200)
committerLinus Torvalds <[email protected]>
Mon, 8 Aug 2016 18:29:39 +0000 (11:29 -0700)
commit574673c231a5fad1560249cc3a598907acb36cf9
tree0fee6ecf9ff36c1678ee09f964aada4de5010ad7
parent65ea11ec6a82b1d44aba62b59e9eb20247e57c6e
printk: Remove unnecessary #ifdef CONFIG_PRINTK

In commit 874f9c7da9a4 ("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 <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/printk/printk.c
This page took 0.054924 seconds and 4 git commands to generate.