summaryrefslogtreecommitdiff
path: root/lib/netns_linux.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2020-02-04 15:45:01 -0500
committerGitHub <noreply@github.com>2020-02-04 15:45:01 -0500
commit8b457c7ba727d57dd36601e3d049c27180a79acc (patch)
tree6489a09a7380ec4c97da2bf1a446abe4d5ba95e0 /lib/netns_linux.c
parent0445dc7d4e3c2eedd33b734642521d32393cf6aa (diff)
parent1cb17e8101e5b49794cd230c2dc337dcddc0f479 (diff)
Merge pull request #5759 from ton31337/fix/void_no_return
zebra, lib: Remove return from void functions
Diffstat (limited to 'lib/netns_linux.c')
-rw-r--r--lib/netns_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netns_linux.c b/lib/netns_linux.c
index d1a31ae35f..4d4376250f 100644
--- a/lib/netns_linux.c
+++ b/lib/netns_linux.c
@@ -371,7 +371,7 @@ int ns_enable(struct ns *ns, void (*func)(ns_id_t, void *))
void ns_disable(struct ns *ns)
{
- return ns_disable_internal(ns);
+ ns_disable_internal(ns);
}
struct ns *ns_lookup(ns_id_t ns_id)