From: Jonas Jelonek Date: Sat, 20 Jun 2026 08:13:00 +0000 (+0000) Subject: realtek: pcs: drop wrong __maybe_unused X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ac14efb868f3aea4f6f9bf42f119811697c6142;p=thirdparty%2Fopenwrt.git realtek: pcs: drop wrong __maybe_unused Some functions specify __maybe_unused from former times although they are clearly used. Remove those attributes. Link: https://github.com/openwrt/openwrt/pull/23904 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c b/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c index 2337dba5303..627abb65ab1 100644 --- a/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c +++ b/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c @@ -395,7 +395,6 @@ static int rtpcs_sds_write_field(struct rtpcs_serdes *sds, const struct rtpcs_sd return sds->ops->write(sds, field->page, field->reg, field->msb, field->lsb, value); } -__maybe_unused static int rtpcs_sds_xsg_write_bits(struct rtpcs_serdes *sds, int page, int regnum, int bithigh, int bitlow, u16 value) { @@ -405,7 +404,6 @@ static int rtpcs_sds_xsg_write_bits(struct rtpcs_serdes *sds, int page, int regn return sds->ops->xsg_write(sds, page, regnum, bithigh, bitlow, value); } -__maybe_unused static int rtpcs_sds_xsg_write(struct rtpcs_serdes *sds, int page, int regnum, u16 value) { if (!sds->ops->xsg_write)