From: Benjamin Berg Date: Thu, 31 Jul 2025 20:12:23 +0000 (+0200) Subject: selftests/nolibc: remove outdated comment about construct order X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca38943e83c7274a7b03b36c02807ea6d6adaac2;p=thirdparty%2Fkernel%2Fstable.git selftests/nolibc: remove outdated comment about construct order The constructor order is not (and should not) be tested. Remove the comment. Fixes: a782d45c867c ("selftests/nolibc: stop testing constructor order") Signed-off-by: Benjamin Berg Link: https://lore.kernel.org/r/20250731201225.323254-3-benjamin@sipsolutions.net Signed-off-by: Thomas Weißschuh --- diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index d074878eb2341..29de21595fc95 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -686,7 +686,6 @@ int expect_strtox(int llen, void *func, const char *input, int base, intmax_t ex #define CASE_TEST(name) \ case __LINE__: llen += printf("%d %s", test, #name); -/* constructors validate that they are executed in definition order */ __attribute__((constructor)) static void constructor1(void) {