[openwrt/openwrt] realtek: pcs: drop some unneeded unused attributes
LEDE Commits
lede-commits at lists.infradead.org
Wed Jan 7 01:47:02 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b435b5bc61f5315fc6f4905dd39f02795d831ff4
commit b435b5bc61f5315fc6f4905dd39f02795d831ff4
Author: Jonas Jelonek <jelonek.jonas at gmail.com>
AuthorDate: Mon Jan 5 15:07:59 2026 +0000
realtek: pcs: drop some unneeded unused attributes
Drop the '__always_unused' tags from two functions which are actually
used. This was missed during the big transition before.
Signed-off-by: Jonas Jelonek <jelonek.jonas at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21410
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c
index 275a15aba9..9974955a3a 100644
--- a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c
+++ b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c
@@ -1500,7 +1500,6 @@ static void rtpcs_930x_sds_rxcal_tap_get(struct rtpcs_serdes *sds,
}
}
-__always_unused
static void rtpcs_930x_sds_do_rx_calibration_1(struct rtpcs_serdes *sds,
phy_interface_t phy_mode)
{
@@ -1665,7 +1664,6 @@ static void rtpcs_930x_sds_do_rx_calibration_2_3(struct rtpcs_serdes *sds)
pr_info("%s: end_1.2.3\n", __func__);
}
-__always_unused
static void rtpcs_930x_sds_do_rx_calibration_2(struct rtpcs_serdes *sds)
{
rtpcs_930x_sds_rx_reset(sds, PHY_INTERFACE_MODE_10GBASER);
More information about the lede-commits
mailing list