summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Jelonek2026-01-05 15:07:59 +0000
committerRobert Marko2026-01-07 09:46:54 +0000
commitb435b5bc61f5315fc6f4905dd39f02795d831ff4 (patch)
tree3a19a9b6ed10ce8bd61e737442cd3df9b7f96f87
parent84f2ecba4d37091442566c848c892c06ac303392 (diff)
downloadopenwrt-b435b5bc61f5315fc6f4905dd39f02795d831ff4.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21410 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c2
1 files changed, 0 insertions, 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);