Skip to content
Commit db4bad07 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller
Browse files

net: ethernet: improve eth_platform_get_mac_address



pci_device_to_OF_node(to_pci_dev(dev)) is the same as dev->of_node,
so we can simplify the code. In addition add an empty line before
the return statement.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent feb3cf2e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment