]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bootconfig: Remove duplicate included header file linux/bootconfig.h
authorThorsten Blum <thorsten.blum@toblux.com>
Thu, 11 Jul 2024 08:43:16 +0000 (10:43 +0200)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Thu, 11 Jul 2024 23:55:02 +0000 (08:55 +0900)
commit0d9c0a67b14401344183cc0f8239f8d1851637fd
tree7e3bbe89c3f591198136ecc61ab24bae2a098c32
parent256abd8e550ce977b728be79a74e1729438b4948
bootconfig: Remove duplicate included header file linux/bootconfig.h

The header file linux/bootconfig.h is included whether __KERNEL__ is
defined or not.

Include it only once before the #ifdef/#else/#endif preprocessor
directives and remove the following make includecheck warning:

  linux/bootconfig.h is included more than once

Move the comment to the top and delete the now empty #else block.

Link: https://lore.kernel.org/all/20240711084315.1507-1-thorsten.blum@toblux.com/
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
lib/bootconfig.c