summaryrefslogtreecommitdiff
path: root/sbin/dhclient/kroute.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-12-19 01:09:11 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-12-19 01:09:11 +0000
commit7b06482e2fa0de7002d6543ccd2ba8b31d379577 (patch)
tree8e00c8ccd2b881478bd3fb7e36b65bc26b749169 /sbin/dhclient/kroute.c
parent066aa23b94aba263e8ccbb996f28894a47538cf4 (diff)
Delete superfluous "close(s);return" just before "close(s);<function
exit>".
Diffstat (limited to 'sbin/dhclient/kroute.c')
-rw-r--r--sbin/dhclient/kroute.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c
index b5c73cee60a..5dfa045da64 100644
--- a/sbin/dhclient/kroute.c
+++ b/sbin/dhclient/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.76 2015/12/18 22:17:46 krw Exp $ */
+/* $OpenBSD: kroute.c,v 1.77 2015/12/19 01:09:10 krw Exp $ */
/*
* Copyright 2012 Kenneth R Westerback <krw@openbsd.org>
@@ -363,8 +363,6 @@ priv_delete_address(struct imsg_delete_address *imsg)
if (errno != EADDRNOTAVAIL)
warning("SIOCDIFADDR failed (%s): %s",
inet_ntoa(imsg->addr), strerror(errno));
- close(s);
- return;
}
close(s);