From: Jonas Jelonek Date: Mon, 5 Jan 2026 15:07:59 +0000 (+0000) Subject: realtek: pcs: drop some unneeded unused attributes X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b435b5bc61f5315fc6f4905dd39f02795d831ff4;p=openwrt%2Fstaging%2Flinusw.git 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 Link: https://github.com/openwrt/openwrt/pull/21410 Signed-off-by: Robert Marko --- 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);