Simply remove the code instead of using "#if 0".

Pointed out by sam
This commit is contained in:
Qing Li 2009-09-15 02:22:57 +00:00
parent 96ed1732bb
commit 3b208f7ca0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197212

View File

@ -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);