summaryrefslogtreecommitdiff
path: root/include/linux/iosys-map.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-08-27 14:27:47 +0100
committerJakub Kicinski <kuba@kernel.org>2025-08-28 16:46:36 -0700
commit24eb86a8170f129725b56c8a359089ce18ad6d6f (patch)
treee6c9a11879d7be1bbbfcb74ffcb670e4354b13b0 /include/linux/iosys-map.h
parent5309dbc95b02485fb76d760fe471bb3b60362f1f (diff)
net: stmmac: mdio: clean up c22/c45 accessor split
The C45 accessors were setting the GR (register number) field twice, once with the 16-bit register address truncated to five bits, and then overwritten with the C45 devad. This is harmless since the field was being cleared prior to being updated with the C45 devad, except for the extra work. Remove the redundant code. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/E1urGBn-00000000DCH-3swS@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/iosys-map.h')
0 files changed, 0 insertions, 0 deletions