summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-07 13:53:20 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-10 05:45:27 +0300
commit687e7863f027426175791f8a23a59b7c4c816fe9 (patch)
tree2038eebd9e9451de3c0126810b2dfddb8c032c14 /include/linux/moduleloader.h
parentb560d4434f98b5a8f7d04e5ec1a515a21aa8d914 (diff)
downloadlinux-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/moduleloader.h')
0 files changed, 0 insertions, 0 deletions