[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <77169545-c903-db6b-7a8c-7361caa27dc5@huawei.com>
Date: Mon, 6 Jan 2020 22:20:43 +0800
From: "yukuai (C)" <yukuai3@...wei.com>
To: Michal Kubecek <mkubecek@...e.cz>, <netdev@...r.kernel.org>
CC: <klassert@...nel.org>, <davem@...emloft.net>,
<hkallweit1@...il.com>, <jakub.kicinski@...ronome.com>,
<hslester96@...il.com>, <mst@...hat.com>, <yang.wei9@....com.cn>,
<willy@...radead.org>, <yi.zhang@...wei.com>,
<zhengbin13@...wei.com>
Subject: Re: [PATCH V2] net: 3com: 3c59x: remove set but not used variable
'mii_reg1'
On 2020/1/6 21:13, Michal Kubecek wrote:
>> @@ -1605,7 +1605,6 @@ vortex_up(struct net_device *dev)
>> window_write32(vp, config, 3, Wn3_Config);
>>
>> if (dev->if_port == XCVR_MII || dev->if_port == XCVR_NWAY) {
>> - mii_reg1 = mdio_read(dev, vp->phys[0], MII_BMSR);
>> mdio_read(dev, vp->phys[0], MII_LPA);
>> vp->partner_flow_ctrl = ((mii_reg5 & 0x0400) != 0);
>> vp->mii.full_duplex = vp->full_duplex;
> Here you removed the read, as you did in previous version of the patch.
Sorry about the stupit mistake.
Yu Kuai
Powered by blists - more mailing lists