Re: [PATCH 06/10] net: rtl8139: Pass private data into rtl8139_eeprom_delay()

2020-06-12 Thread Tom Rini
On Sat, May 09, 2020 at 10:34:40PM +0200, Marek Vasut wrote: > Instead of always calling rtl8139_eeprom_delay() with priv->ioaddr, > call it with priv and let the function access priv->ioaddr. This > reduces code duplication and has no impact, since the compiler will > inline this as needed anyway

[PATCH 06/10] net: rtl8139: Pass private data into rtl8139_eeprom_delay()

2020-05-09 Thread Marek Vasut
Instead of always calling rtl8139_eeprom_delay() with priv->ioaddr, call it with priv and let the function access priv->ioaddr. This reduces code duplication and has no impact, since the compiler will inline this as needed anyway. Signed-off-by: Marek Vasut Cc: Joe Hershberger --- drivers/net/r