diff options
| author | Wei Fang <wei.fang@nxp.com> | 2025-11-19 10:51:44 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-20 18:40:06 -0800 |
| commit | 3eea593b5597e580def9658aa6397e1057f27acd (patch) | |
| tree | 454d19e4e18b69caa153051d4ce69141ecc7f096 /tools/testing/selftests/net/af_unix/unix_connreset.c | |
| parent | a7687b292ef101b8fb21571eac418c90fab6f304 (diff) | |
net: fec: remove useless conditional preprocessor directives
The conditional preprocessor directive was added to fix build errors on
the MCF5272 platform, see commit d13919301d9a ("net: fec: Fix build for
MCF5272"). The compilation errors were originally caused by some register
macros not being defined on that platform.
The driver now uses quirks to dynamically handle platform differences,
and for MCF5272, its quirks is 0, so it does not support RACC and GBIT
Ethernet. So these preprocessor directives are no longer required and
can be safely removed without causing build or functional issue.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/20251119025148.2817602-2-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/unix_connreset.c')
0 files changed, 0 insertions, 0 deletions
