From d04ae83e11b3f2ef8c260d2f7cbe09665412867b Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Wed, 14 Oct 2015 14:29:57 -0700 Subject: [PATCH] checkpatch: error - return_parentheses Change-Id: If1964349a115043fa54bf48ebfe4b3c0a414ed57 Signed-off-by: Dan Kalowsky --- lib/libc/minimal/source/stdlib/strtol.c | 2 +- lib/libc/minimal/source/stdlib/strtoul.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/minimal/source/stdlib/strtol.c b/lib/libc/minimal/source/stdlib/strtol.c index b53d16b65ce..9617c2b8188 100644 --- a/lib/libc/minimal/source/stdlib/strtol.c +++ b/lib/libc/minimal/source/stdlib/strtol.c @@ -115,5 +115,5 @@ long strtol(const char *nptr, char **endptr, register int base) acc = -acc; if (endptr != 0) *endptr = (char *)(any ? s - 1 : nptr); - return (acc); + return acc; } diff --git a/lib/libc/minimal/source/stdlib/strtoul.c b/lib/libc/minimal/source/stdlib/strtoul.c index 259f6a94960..77610d7b23a 100644 --- a/lib/libc/minimal/source/stdlib/strtoul.c +++ b/lib/libc/minimal/source/stdlib/strtoul.c @@ -94,5 +94,5 @@ unsigned long strtoul(const char *nptr, char **endptr, register int base) acc = -acc; if (endptr != 0) *endptr = (char *)(any ? s - 1 : nptr); - return (acc); + return acc; }