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

Pointed out by sam
This commit is contained in:
qingli 2009-09-15 02:22:57 +00:00
parent d073699112
commit 86f32d6c8b

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