diff options
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/i2c.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/pci.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/i2c.c b/drivers/net/ethernet/mellanox/mlxsw/i2c.c index bd255417751b..798bd5aca384 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/i2c.c +++ b/drivers/net/ethernet/mellanox/mlxsw/i2c.c | |||
@@ -15,8 +15,6 @@ | |||
15 | #include "core.h" | 15 | #include "core.h" |
16 | #include "i2c.h" | 16 | #include "i2c.h" |
17 | 17 | ||
18 | static const char mlxsw_i2c_driver_name[] = "mlxsw_i2c"; | ||
19 | |||
20 | #define MLXSW_I2C_CIR2_BASE 0x72000 | 18 | #define MLXSW_I2C_CIR2_BASE 0x72000 |
21 | #define MLXSW_I2C_CIR_STATUS_OFF 0x18 | 19 | #define MLXSW_I2C_CIR_STATUS_OFF 0x18 |
22 | #define MLXSW_I2C_CIR2_OFF_STATUS (MLXSW_I2C_CIR2_BASE + \ | 20 | #define MLXSW_I2C_CIR2_OFF_STATUS (MLXSW_I2C_CIR2_BASE + \ |
diff --git a/drivers/net/ethernet/mellanox/mlxsw/pci.c b/drivers/net/ethernet/mellanox/mlxsw/pci.c index 4bec4f6b80ca..4d271fb3de3d 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/pci.c +++ b/drivers/net/ethernet/mellanox/mlxsw/pci.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #include "port.h" | 22 | #include "port.h" |
23 | #include "resources.h" | 23 | #include "resources.h" |
24 | 24 | ||
25 | static const char mlxsw_pci_driver_name[] = "mlxsw_pci"; | ||
26 | |||
27 | #define mlxsw_pci_write32(mlxsw_pci, reg, val) \ | 25 | #define mlxsw_pci_write32(mlxsw_pci, reg, val) \ |
28 | iowrite32be(val, (mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg)) | 26 | iowrite32be(val, (mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg)) |
29 | #define mlxsw_pci_read32(mlxsw_pci, reg) \ | 27 | #define mlxsw_pci_read32(mlxsw_pci, reg) \ |