aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2023-04-03 01:16:03 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2023-04-03 19:48:48 +0000
commitf14ceae4986403e296c27afa72616993a2ed03e1 (patch)
treecf02c2efbea65690156f173179f5e87436fa43bb
parent3cb808226c1f62ed5c726480073eb9035a24d2cc (diff)
downloadsrc-f14ceae4986403e296c27afa72616993a2ed03e1.tar.gz
src-f14ceae4986403e296c27afa72616993a2ed03e1.zip
ipsec_strerror.c: style, drop redundand return
Sponsored by: Nvidia networking MFC after: 1 week
-rw-r--r--lib/libipsec/ipsec_strerror.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libipsec/ipsec_strerror.c b/lib/libipsec/ipsec_strerror.c
index 4e304bc97018..402faac3f375 100644
--- a/lib/libipsec/ipsec_strerror.c
+++ b/lib/libipsec/ipsec_strerror.c
@@ -80,13 +80,11 @@ const char *ipsec_strerror(void)
if (__ipsec_errcode < 0 || __ipsec_errcode > EIPSEC_MAX)
__ipsec_errcode = EIPSEC_MAX;
- return ipsec_errlist[__ipsec_errcode];
+ return (ipsec_errlist[__ipsec_errcode]);
}
void __ipsec_set_strerror(const char *str)
{
__ipsec_errcode = EIPSEC_SYSTEM_ERROR;
ipsec_errlist[EIPSEC_SYSTEM_ERROR] = str;
-
- return;
}