]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: phy: realtek: remove unsed RTL821x_PHYSR* macros
authorMichael Klein <michael@fossekall.de>
Sun, 4 May 2025 17:29:11 +0000 (19:29 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 May 2025 11:31:26 +0000 (13:31 +0200)
These macros have there since the first revision but were never used, so
let's just remove them.

Signed-off-by: Michael Klein <michael@fossekall.de>
Link: https://patch.msgid.link/20250504172916.243185-2-michael@fossekall.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/realtek/realtek_main.c

index 05c4f4d394a5ff32b43dd51f0bff08f437ad0494..a6d21dfb1073a2ffdb0cbdd7cee0578d4f798a52 100644 (file)
 
 #include "realtek.h"
 
-#define RTL821x_PHYSR                          0x11
-#define RTL821x_PHYSR_DUPLEX                   BIT(13)
-#define RTL821x_PHYSR_SPEED                    GENMASK(15, 14)
-
 #define RTL821x_INER                           0x12
 #define RTL8211B_INER_INIT                     0x6400
 #define RTL8211E_INER_LINK_STATUS              BIT(10)