diff options
author | qingli <qingli@FreeBSD.org> | 2009-09-15 02:22:57 +0000 |
---|---|---|
committer | qingli <qingli@FreeBSD.org> | 2009-09-15 02:22:57 +0000 |
commit | 86f32d6c8b1c58fa0b4e62f8eee605f8ebe459d4 (patch) | |
tree | 19860b2f0af8c4a25329dd1315899f3a45475aef /sys/nfsclient | |
parent | d073699112113e063b9f1f192a9fa00b3945c8a4 (diff) | |
download | FreeBSD-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.c | 6 |
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); |