e054937fdd2d2cac660c7ff31c5dc11110803fd0
[openwrt/staging/xback.git] /
1 From f3b265358b911fe9e495619bdfa7797749474f95 Mon Sep 17 00:00:00 2001
2 From: Michael Klein <michael@fossekall.de>
3 Date: Sun, 4 May 2025 19:29:11 +0200
4 Subject: [PATCH] net: phy: realtek: remove unsed RTL821x_PHYSR* macros
5
6 These macros have there since the first revision but were never used, so
7 let's just remove them.
8
9 Signed-off-by: Michael Klein <michael@fossekall.de>
10 Link: https://patch.msgid.link/20250504172916.243185-2-michael@fossekall.de
11 Signed-off-by: Paolo Abeni <pabeni@redhat.com>
12 ---
13 drivers/net/phy/realtek/realtek_main.c | 4 ----
14 1 file changed, 4 deletions(-)
15
16 --- a/drivers/net/phy/realtek/realtek_main.c
17 +++ b/drivers/net/phy/realtek/realtek_main.c
18 @@ -18,10 +18,6 @@
19
20 #include "realtek.h"
21
22 -#define RTL821x_PHYSR 0x11
23 -#define RTL821x_PHYSR_DUPLEX BIT(13)
24 -#define RTL821x_PHYSR_SPEED GENMASK(15, 14)
25 -
26 #define RTL821x_INER 0x12
27 #define RTL8211B_INER_INIT 0x6400
28 #define RTL8211E_INER_LINK_STATUS BIT(10)