net: rswitch: Drop unused macros

Remove macros which are not used in the driver. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut
2025-10-27 17:45:32 +01:00
parent 1b738947e3
commit 482606d18c

View File

@@ -27,9 +27,6 @@
#define RSWITCH_SLEEP_US 1000
#define RSWITCH_TIMEOUT_US 1000000
#define RSWITCH_NUM_HW 5
#define ETHA_TO_GWCA(i) ((i) % 2)
#define GWCA_TO_HW_INDEX(i) ((i) + 3)
#define HW_INDEX_TO_GWCA(i) ((i) - 3)
@@ -207,11 +204,6 @@ struct rswitch_gwca {
int num_chain;
};
/* Setting value */
#define LINK_SPEED_100 100
#define LINK_SPEED_1000 1000
#define LINK_SPEED_2500 2500
/* Decriptor */
#define RSWITCH_NUM_BASE_DESC 2
#define RSWITCH_TX_CHAIN_INDEX 0