Re: [PATCH v1] phy: avoid adjust_link call if link remains down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 29, 2024 at 08:24:21AM +0200, Sascha Hauer wrote:
> > +	if (!phydev->link && phydev->link == oldlink)
> > +		return 0;
> 
> I've changed the check to (!phydev->link && !oldlink) which is a bit
> easier to read.

Thank you! :)

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux