From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- lib/libc/stdlib/posix_memalign.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/libc/stdlib/posix_memalign.c') diff --git a/lib/libc/stdlib/posix_memalign.c b/lib/libc/stdlib/posix_memalign.c index f76e63fe..251512a1 100644 --- a/lib/libc/stdlib/posix_memalign.c +++ b/lib/libc/stdlib/posix_memalign.c @@ -11,8 +11,7 @@ int posix_memalign(void **memptr, size_t alignment, size_t size) *memptr = NULL; - if (alignment < sizeof(void *) || alignment % sizeof(void *) != 0 || - (alignment & (alignment - 1)) != 0) { + if (alignment < sizeof(void *) || alignment % sizeof(void *) != 0 || (alignment & (alignment - 1)) != 0) { return EINVAL; } -- cgit v1.2.3