summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-09-05 17:05:19 +0000
committerjlemon <jlemon@FreeBSD.org>2001-09-05 17:05:19 +0000
commitc05780a8fcd64d3be781ab84ac771cc159a44258 (patch)
tree23b997c5dc23c378d5db13ed94581e912a5c4c59 /sys
parentb6bc28300b39d31ec040fa2db0bf4486491afa99 (diff)
downloadFreeBSD-src-c05780a8fcd64d3be781ab84ac771cc159a44258.zip
FreeBSD-src-c05780a8fcd64d3be781ab84ac771cc159a44258.tar.gz
Remove superfluous statement.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/autoconf.c1
-rw-r--r--sys/i386/i386/autoconf.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c
index 83df27d..6c370bd 100644
--- a/sys/amd64/amd64/autoconf.c
+++ b/sys/amd64/amd64/autoconf.c
@@ -352,7 +352,6 @@ pxe_setup_nfsdiskless()
return;
}
ifa = NULL;
- ifp = TAILQ_FIRST(&ifnet);
TAILQ_FOREACH(ifp, &ifnet, if_link) {
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
if ((ifa->ifa_addr->sa_family == AF_LINK) &&
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c
index 83df27d..6c370bd 100644
--- a/sys/i386/i386/autoconf.c
+++ b/sys/i386/i386/autoconf.c
@@ -352,7 +352,6 @@ pxe_setup_nfsdiskless()
return;
}
ifa = NULL;
- ifp = TAILQ_FIRST(&ifnet);
TAILQ_FOREACH(ifp, &ifnet, if_link) {
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
if ((ifa->ifa_addr->sa_family == AF_LINK) &&
OpenPOWER on IntegriCloud