From owner-svn-src-all@FreeBSD.ORG Tue Sep 15 06:15:08 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 752931065670; Tue, 15 Sep 2009 06:15:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2E10A8FC15; Tue, 15 Sep 2009 06:15:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id C080141C6A1; Tue, 15 Sep 2009 08:15:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id z8uP81bxBJiw; Tue, 15 Sep 2009 08:15:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 01EA641C69F; Tue, 15 Sep 2009 08:15:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 387D94448E6; Tue, 15 Sep 2009 06:11:17 +0000 (UTC) Date: Tue, 15 Sep 2009 06:11:16 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Qing Li In-Reply-To: <200909150222.n8F2Mvo0073002@svn.freebsd.org> Message-ID: <20090915061045.Q68375@maildrop.int.zabbadoz.net> References: <200909150222.n8F2Mvo0073002@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197212 - head/sys/nfsclient X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2009 06:15:08 -0000 On Tue, 15 Sep 2009, Qing Li wrote: > 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 In this case the block just above that should probably removed as well? > 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); > -- Bjoern A. Zeeb What was I talking about and who are you again?