From 8d565fc0e35d0b08f96f34e9e02d9e6976d1fa62 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Wed, 17 May 2023 23:06:57 +0300 Subject: [PATCH] libs/libc/string: remove redundant parenthesis Signed-off-by: Petro Karashchenko --- libs/libc/string/lib_timingsafe_bcmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/string/lib_timingsafe_bcmp.c b/libs/libc/string/lib_timingsafe_bcmp.c index 8473b61249..c150ffde3d 100644 --- a/libs/libc/string/lib_timingsafe_bcmp.c +++ b/libs/libc/string/lib_timingsafe_bcmp.c @@ -39,5 +39,5 @@ int timingsafe_bcmp(FAR const void *b1, FAR const void *b2, size_t n) ret |= *p1++ ^ *p2++; } - return (ret != 0); + return ret != 0; }