summaryrefslogtreecommitdiff
path: root/drivers/net/bcm-sf2-eth.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2020-05-23 16:20:25 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2020-06-18 19:34:40 +0200
commit66fed7300d250197c24fb54cad7f6cae7df95fe1 (patch)
treec63d19ee39af6511c057340e3cc0d58d0a53b880 /drivers/net/bcm-sf2-eth.h
parent6c7d3f6b3fb5860f55d1c7733d2b5929e0721e99 (diff)
net: eepro100: Factor out MII registration
Pull the MII registration code into a separate function. Moreover, properly free memory in case any of the registration or allocation functions fail, so this fixes an existing memleak. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'drivers/net/bcm-sf2-eth.h')
0 files changed, 0 insertions, 0 deletions