diff options
| author | Doug Berger <opendmb@gmail.com> | 2021-09-26 06:21:11 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-09-27 18:34:51 +0300 |
| commit | 50e356686fa9304f7cdc30b1fe696bde8afa79d6 (patch) | |
| tree | 20a996edf2374ecbc9823e012e3a2ddca3622a47 /scripts/const_structs.checkpatch | |
| parent | 13807ded270c2e94bf6ca0c8278576912c111149 (diff) | |
| download | linux-50e356686fa9304f7cdc30b1fe696bde8afa79d6.tar.xz | |
net: bcmgenet: remove netif_carrier_off from adjust_link
The bcmgenet_mii_setup() function is registered as the adjust_link
callback from the phylib for the GENET driver.
The phylib always sets the netif_carrier according to phydev->link
prior to invoking the adjust_link callback, so there is no need to
repeat that in the link down case within the network driver.
Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@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
