aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/eepro100.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-09-13 14:30:25 +0100
committerMichael Brown <mcb30@ipxe.org>2023-09-13 16:29:48 +0100
commiteeb7cd56e54e2bc649626988872c170fba37c163 (patch)
treedfc1a3ee5ca1bc46ae23128bbcd2d0b832967a35 /src/drivers/net/eepro100.c
parent0aa2e4ec963597794dd8f8b36f77f4d0cf4e03c8 (diff)
downloadipxe-eeb7cd56e54e2bc649626988872c170fba37c163.tar.gz
[netdevice] Remove netdev_priv() helper function
Some network device drivers use the trivial netdev_priv() helper function while others use the netdev->priv pointer directly. Standardise on direct use of netdev->priv, in order to free up the function name netdev_priv() for reuse. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/eepro100.c')
-rw-r--r--src/drivers/net/eepro100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/eepro100.c b/src/drivers/net/eepro100.c
index 1a802b590..a0551a89b 100644
--- a/src/drivers/net/eepro100.c
+++ b/src/drivers/net/eepro100.c
@@ -690,7 +690,7 @@ static void ifec_reset ( struct net_device *netdev )
*/
static void ifec_free ( struct net_device *netdev )
{
- struct ifec_private *priv = netdev_priv ( netdev );
+ struct ifec_private *priv = netdev->priv;
int i;
DBGP ( "ifec_free\n" );