[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141202142433.GA14246@sudip-PC>
Date: Tue, 2 Dec 2014 19:54:33 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: "Fujinaka, Todd" <todd.fujinaka@...el.com>
Cc: Ben Hutchings <ben@...adent.org.uk>,
Linux NICS <Linux-nics@...tope.jf.intel.com>,
"e1000-devel@...ts.sourceforge.net"
<e1000-devel@...ts.sourceforge.net>,
Hisashi T Fujinaka <htodd@...fifty.com>,
"Vick, Matthew" <matthew.vick@...el.com>,
"Greg@...tope.jf.intel.com" <Greg@...tope.jf.intel.com>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Wyborny, Carolyn" <carolyn.wyborny@...el.com>,
"John@...tope.jf.intel.com" <John@...tope.jf.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [linux-nics] [PATCH] e1000: remove unused variables
On Mon, Dec 01, 2014 at 06:56:46PM +0000, Fujinaka, Todd wrote:
> After discussing this locally, I'd like to NAK it because this could cause regressions to parts that are still in use but we don't have access to. Also, the assignment was necessary in the past for some versions of gcc and since this may be used in embedded systems using older compilers, we should leave it be.
>
ok. i understand.
just a thought:
maybe you can put a comment in the file that these are there for a reason and should not be removed. else, you might receive the same type of patch again from someone else.
thanks
sudip
> Thanks.
>
> Todd Fujinaka
> Software Application Engineer
> Networking Division (ND)
> Intel Corporation
> todd.fujinaka@...el.com
> (503) 712-4565
>
> -----Original Message-----
> From: linux-nics-bounces@...tope.jf.intel.com [mailto:linux-nics-bounces@...tope.jf.intel.com] On Behalf Of Sudip Mukherjee
> Sent: Sunday, November 30, 2014 8:55 PM
> To: Ben Hutchings
> Cc: Linux NICS; e1000-devel@...ts.sourceforge.net; Hisashi T Fujinaka; Vick, Matthew; Greg@...tope.jf.intel.com; Kirsher, Jeffrey T; netdev@...r.kernel.org; Wyborny, Carolyn; John@...tope.jf.intel.com; linux-kernel@...r.kernel.org
> Subject: Re: [linux-nics] [PATCH] e1000: remove unused variables
>
> On Sun, Nov 30, 2014 at 01:45:13AM +0000, Ben Hutchings wrote:
> > On Wed, 2014-11-26 at 21:59 -0800, Hisashi T Fujinaka wrote:
> > > I'm pretty sure those double reads are there for a reason, so most
> > > of this I'm going to have to check on Monday. We have a long holiday
> > > weekend here in the US.
> > [...]
> >
> > If there were double register reads being replaced with single
> > register reads, I'd agree this was likely to introduce a regression.
> > But all I see is var = er32(REG) being changed to er32(REG).
>
> no, double register reads are not modified. only the unused variables are removed.
>
> thanks
> sudip
>
> >
> > Ben.
> >
> > --
> > Ben Hutchings
> > The world is coming to an end. Please log off.
>
>
> _______________________________________________
> Linux-nics mailing list
> Linux-nics@...el.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists