Re: [PATCH] net: 3com: 3c59x: remove set but not used variable 'mii_reg1'

From: yukuai (C)
Date: Mon Jan 06 2020 - 07:48:52 EST

On 2020/1/4 3:37, Andrew Lunn 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.


Thank you all for your response!

Yu Kuai