diff options
author | Colin Foster <[email protected]> | 2021-09-17 08:39:05 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-19 12:59:52 +0100 |
commit | ba68e9941984792f7e8a7be90b8245eb0d2b4d7b (patch) | |
tree | eea6314ffcf55f731092d66a8c1035e2467f41ce /tools/testing/selftests/net/af_unix/test_unix_oob.c | |
parent | 163957c43d96c2409d9d9d2e94823f7300f6e52c (diff) |
net: mscc: ocelot: remove buggy duplicate write to DEV_CLOCK_CFG
When updating ocelot to use phylink, a second write to DEV_CLOCK_CFG was
mistakenly left in. It used the variable "speed" which, previously, would
would have been assigned a value of OCELOT_SPEED_1000. In phylink the
variable is be SPEED_1000, which is invalid for the
DEV_CLOCK_LINK_SPEED macro. Removing it as unnecessary and buggy.
Fixes: e6e12df625f2 ("net: mscc: ocelot: convert to phylink")
Signed-off-by: Colin Foster <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/test_unix_oob.c')
0 files changed, 0 insertions, 0 deletions