Unverified Commit 768da2ea authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Daniel Gomez
Browse files

kunit: test: Drop CONFIG_MODULE ifdeffery



The function stubs exposed by module.h allow the code to compile properly
without the ifdeffery. The generated object code stays the same, as the
compiler can optimize away all the dead code.
As the code is still typechecked developer errors can be detected faster.

Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: default avatarDavid Gow <davidgow@google.com>
Reviewed-by: default avatarDaniel Gomez <da.gomez@samsung.com>
Link: https://lore.kernel.org/r/20250711-kunit-ifdef-modules-v2-3-39443decb1f8@linutronix.de


Signed-off-by: default avatarDaniel Gomez <da.gomez@samsung.com>
parent 818783c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment