[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200109010344.GN6788@bombadil.infradead.org>
Date: Wed, 8 Jan 2020 17:03:44 -0800
From: Matthew Wilcox <willy@...radead.org>
To: David Miller <davem@...emloft.net>
Cc: yukuai3@...wei.com, klassert@...nel.org, hkallweit1@...il.com,
jakub.kicinski@...ronome.com, hslester96@...il.com, mst@...hat.com,
yang.wei9@....com.cn, netdev@...r.kernel.org, yi.zhang@...wei.com,
zhengbin13@...wei.com
Subject: Re: [PATCH V2] net: 3com: 3c59x: remove set but not used variable
'mii_reg1'
On Wed, Jan 08, 2020 at 03:05:49PM -0800, David Miller wrote:
> From: Matthew Wilcox <willy@...radead.org>
> Date: Wed, 8 Jan 2020 13:59:29 -0800
>
> > This waas a mistaken version; please revert and apply v3 instead.
>
> Are you sure?
>
> [davem@...alhost net-next]$ git show e102774588b3ac0d221ed2d03a5153e056f1354f >x.diff
> [davem@...alhost net-next]$ patch -p1 -R <x.diff
> patching file drivers/net/ethernet/3com/3c59x.c
> [davem@...alhost net-next]$ mv ~/Downloads/V3-net-3com-3c59x-remove-set-but-not-used-variable-mii_reg1.patch ./
> [davem@...alhost net-next]$ patch -p1 <V3-net-3com-3c59x-remove-set-but-not-used-variable-mii_reg1.patch
> patching file drivers/net/ethernet/3com/3c59x.c
> [davem@...alhost net-next]$ git diff
> [davem@...alhost net-next]$
>
> There is no difference in the code of the commit at all between V2 and V3.
v2:
- mii_reg1 = mdio_read(dev, vp->phys[0], MII_BMSR);
v3:
- mii_reg1 = mdio_read(dev, vp->phys[0], MII_BMSR);
+ mdio_read(dev, vp->phys[0], MII_BMSR);
Powered by blists - more mailing lists