Commit 768da2e
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: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: David Gow <davidgow@google.com>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Link: https://lore.kernel.org/r/20250711-kunit-ifdef-modules-v2-3-39443decb1f8@linutronix.de
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>1 parent 818783c commit 768da2e
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
806 | 805 | | |
807 | 806 | | |
808 | 807 | | |
| |||
890 | 889 | | |
891 | 890 | | |
892 | 891 | | |
893 | | - | |
894 | 892 | | |
895 | 893 | | |
896 | 894 | | |
| |||
981 | 979 | | |
982 | 980 | | |
983 | 981 | | |
984 | | - | |
985 | 982 | | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | 983 | | |
990 | 984 | | |
991 | 985 | | |
992 | 986 | | |
993 | 987 | | |
994 | 988 | | |
995 | | - | |
996 | 989 | | |
997 | | - | |
998 | 990 | | |
999 | 991 | | |
1000 | 992 | | |
| |||
0 commit comments