[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAP8WD_b5Su2niZiDWSFXpTgGKnC7CCQRC9kCyQOWUm0eLJhVxA@mail.gmail.com>
Date: Fri, 3 Jan 2020 15:03:19 -0500
From: tedheadster <tedheadster@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
Matthew Wilcox <willy@...radead.org>,
yu kuai <yukuai3@...wei.com>, klassert@...nel.org,
"David S. Miller" <davem@...emloft.net>,
Heiner Kallweit <hkallweit1@...il.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
hslester96@...il.com, "Michael S. Tsirkin" <mst@...hat.com>,
yang.wei9@....com.cn, netdev <netdev@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>, yi.zhang@...wei.com,
zhengbin13@...wei.com
Subject: Re: [PATCH] net: 3com: 3c59x: remove set but not used variable 'mii_reg1'
On Fri, Jan 3, 2020 at 2:40 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> > And since more reviewers are on the same boat, the fix should probably
> > look to eliminate the warning by doing something like:
> >
> > (void)mdio_read(dev, vp->phys[0], MII_BMSR);
>
> Yes, this is the safe option.
I have actual hardware I can test the proposed patches on, if desired.
- Matthew Whitehead
Powered by blists - more mailing lists