svn commit: r197212 - head/sys/nfsclient
Qing Li
qingli at FreeBSD.org
Tue Sep 15 02:22:57 UTC 2009
Author: qingli
Date: Tue Sep 15 02:22:57 2009
New Revision: 197212
URL: http://svn.freebsd.org/changeset/base/197212
Log:
Simply remove the code instead of using "#if 0".
Pointed out by sam
Modified:
head/sys/nfsclient/nfs_vfsops.c
Modified: head/sys/nfsclient/nfs_vfsops.c
==============================================================================
--- head/sys/nfsclient/nfs_vfsops.c Tue Sep 15 02:04:16 2009 (r197211)
+++ head/sys/nfsclient/nfs_vfsops.c Tue Sep 15 02:22:57 2009 (r197212)
@@ -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);
More information about the svn-src-head
mailing list