diff options
| author | Oleksij Rempel <[email protected]> | 2022-08-26 10:56:34 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-08-31 08:41:24 +0000 |
| commit | 32cbac21b9f47c00b72d40a46d87039270daff7a (patch) | |
| tree | 932010efe8014f45d1552e9449e51554a510918a /drivers/net/dsa/microchip/ksz_common.h | |
| parent | net: dsa: microchip: remove unused sgmii variable (diff) | |
| download | kernel-32cbac21b9f47c00b72d40a46d87039270daff7a.tar.gz kernel-32cbac21b9f47c00b72d40a46d87039270daff7a.zip | |
net: dsa: microchip: remove IS_9893 flag
Use chip_id as other places of this code do it
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
| -rw-r--r-- | drivers/net/dsa/microchip/ksz_common.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h index 4914cc1c803a..c01989c04d4e 100644 --- a/drivers/net/dsa/microchip/ksz_common.h +++ b/drivers/net/dsa/microchip/ksz_common.h @@ -119,7 +119,6 @@ struct ksz_device { unsigned long mib_read_interval; u16 mirror_rx; u16 mirror_tx; - u32 features; /* chip specific features */ u16 port_mask; }; @@ -542,9 +541,6 @@ static inline int is_lan937x(struct ksz_device *dev) #define SW_START 0x01 -/* Used with variable features to indicate capabilities. */ -#define IS_9893 BIT(2) - /* xMII configuration */ #define P_MII_DUPLEX_M BIT(6) #define P_MII_100MBIT_M BIT(4) |
