diff options
author | Vitalii Mordan <mordan@ispras.ru> | 2024-11-15 14:26:32 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-19 03:49:53 +0100 |
commit | cc84d89ad8d411d52ec4d000c3ed5cce52683fbd (patch) | |
tree | fbfcbea7a026b39572a71b5697671b01bbb6f79b /MAINTAINERS | |
parent | net: txgbe: remove GPIO interrupt controller (diff) | |
download | linux-cc84d89ad8d411d52ec4d000c3ed5cce52683fbd.tar.xz linux-cc84d89ad8d411d52ec4d000c3ed5cce52683fbd.zip |
stmmac: dwmac-intel-plat: remove redundant dwmac->data check in probe
The driver’s compatibility with devices is confirmed earlier in
platform_match(). Since reaching probe means the device is valid,
the extra check can be removed to simplify the code.
Signed-off-by: Vitalii Mordan <mordan@ispras.ru>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions