Skip to content
Commit 26f59c28 authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

net: rtl8139: Pass private data into rtl8139_eeprom_delay()



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: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
parent 3feb6f7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment