summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-17 17:01:44 +0200
committerPetr Mladek <pmladek@suse.com>2017-10-19 15:29:24 +0200
commit93b138dd9d6e01cd360f347512b6c5bf6f0c4ce2 (patch)
treee801803461e9e88959b83efdb9cbdaf6175f9e1c /kernel
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pml... (diff)
downloadlinux-93b138dd9d6e01cd360f347512b6c5bf6f0c4ce2.tar.xz
linux-93b138dd9d6e01cd360f347512b6c5bf6f0c4ce2.zip
printk: simplify no_printk()
Commit 069f0cd00df0 ("printk: Make the printk*once() variants return a value") surrounded the macro implementation with ({ ... }). Now, the inner do { ... } while (0); is redundant. Link: http://lkml.kernel.org/r/1505660504-11059-1-git-send-email-yamada.masahiro@socionext.com Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions