summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-05-31 20:14:44 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-03 04:11:57 +0300
commitdb4bad07371b53dbce34e8ae54d4aa93096841d6 (patch)
tree464fc1b9b764fe37f7f15af89dea43db42c6c62e /scripts/const_structs.checkpatch
parentfeb3cf2e5ecc5840e27f328e0ce666a0f728f1a3 (diff)
downloadlinux-db4bad07371b53dbce34e8ae54d4aa93096841d6.tar.xz
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: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions