mirror of
https://github.com/openwrt/openwrt.git
synced 2026-07-17 16:41:56 +04:00
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 <jelonek.jonas@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user