summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorqingli <qingli@FreeBSD.org>2009-09-15 02:22:57 +0000
committerqingli <qingli@FreeBSD.org>2009-09-15 02:22:57 +0000
commit86f32d6c8b1c58fa0b4e62f8eee605f8ebe459d4 (patch)
tree19860b2f0af8c4a25329dd1315899f3a45475aef /sys/nfsclient
parentd073699112113e063b9f1f192a9fa00b3945c8a4 (diff)
downloadFreeBSD-src-86f32d6c8b1c58fa0b4e62f8eee605f8ebe459d4.zip
FreeBSD-src-86f32d6c8b1c58fa0b4e62f8eee605f8ebe459d4.tar.gz
Simply remove the code instead of using "#if 0".
Pointed out by sam
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_vfsops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 06316a8..b82982b 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -464,12 +464,6 @@ nfs_mountroot(struct mount *mp)
}
#endif
-#if 0 /* QL: XXX */
- error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td);
- if (error)
- panic("nfs_mountroot: SIOCAIFADDR: %d", error);
-#endif
-
if ((cp = getenv("boot.netif.mtu")) != NULL) {
ir.ifr_mtu = strtol(cp, NULL, 10);
bcopy(nd->myif.ifra_name, ir.ifr_name, IFNAMSIZ);
OpenPOWER on IntegriCloud