diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-03-09 09:51:34 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-03-09 09:51:34 +0100 |
commit | 46ca833c060cff588a5fc2c25a1def8a1b6284e2 (patch) | |
tree | 749a855001ea343f8056dabc2da08962d7e8ac69 /net/sctp/stream_sched.c | |
parent | 7e01b4085f11b985ebe1a2ff6ccd3654494f5b5a (diff) | |
parent | 8cd9de08ccf6e1575d4994ba8347fa9ac083f900 (diff) | |
download | linux-46ca833c060cff588a5fc2c25a1def8a1b6284e2.tar.gz linux-46ca833c060cff588a5fc2c25a1def8a1b6284e2.tar.bz2 linux-46ca833c060cff588a5fc2c25a1def8a1b6284e2.zip |
Merge branch 'various-mtk_eth_soc-cleanups'
Russell King says:
====================
Various mtk_eth_soc cleanups
Here are a number of patches that do a bit of cleanup to mtk_eth_soc.
The first patch cleans up mtk_gmac0_rgmii_adjust(), which is the
troublesome function preventing the driver becoming a post-March2020
phylink driver. It doesn't solve that problem, merely makes the code
easier to follow by getting rid of repeated tenary operators.
The second patch moves the check for DDR2 memory to the initialisation
of phylink's supported_interfaces - if TRGMII is not possible for some
reason, we should not be erroring out in phylink MAC operations when
that can be determined prior to phylink creation.
The third patch removes checks from mtk_mac_config() that are done
when initialising supported_interfaces - phylink will not call
mtk_mac_config() with an interface that was not marked as supported,
so these checks are redundant.
The last patch removes the remaining vestiges of REVMII and RMII
support, which appears to be entirely unused.
These shouldn't conflict with Daniel's patch set, but if they do I
will rework as appropriate.
====================
Link: https://lore.kernel.org/r/ZAdj9qUXcHUsK7Gt@shell.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/sctp/stream_sched.c')
0 files changed, 0 insertions, 0 deletions