diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-07 13:53:20 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-10 05:45:27 +0300 |
| commit | 687e7863f027426175791f8a23a59b7c4c816fe9 (patch) | |
| tree | 2038eebd9e9451de3c0126810b2dfddb8c032c14 /include/linux/stringify.h | |
| parent | b560d4434f98b5a8f7d04e5ec1a515a21aa8d914 (diff) | |
| download | linux-687e7863f027426175791f8a23a59b7c4c816fe9.tar.xz | |
net: stmmac: ptp: remove redundant priv->pps[].available
priv->pps[].available is set in stmmac_ptp_register() for all PPS
outputs reported by hardware up to STMMAC_PPS_MAX.
Since we now set priv->ptp_clock_ops.n_per_out to the number of PPS
outputs that both the hardware and driver can support to prevent
array overflow in stmmac_enable(), this makes priv->pps[].available
redundant. Remove this struct member.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vypHc-0000000CSbl-1X6v@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
