mlxsw: pci: Remove unused values
authorIdo Schimmel <idosch@mellanox.com>
Sun, 23 Feb 2020 07:31:44 +0000 (08:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 00:07:18 +0000 (16:07 -0800)
Since commit f3a52c6162f8 ("mlxsw: pci: Utilize MRSR register to perform
FW reset") the driver no longer issues a reset via the PCI BAR, so the
offset of the reset bit is unused. Remove it.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/pci_hw.h

index e0d7d2d9a0c81c8df137a6b01ea17c0f9066e169..cf74346aa311e2c7479e7ffad1700062d02a80bd 100644 (file)
@@ -25,8 +25,6 @@
 #define MLXSW_PCI_CIR_CTRL_STATUS_SHIFT                24
 #define MLXSW_PCI_CIR_TIMEOUT_MSECS            1000
 
-#define MLXSW_PCI_SW_RESET                     0xF0010
-#define MLXSW_PCI_SW_RESET_RST_BIT             BIT(0)
 #define MLXSW_PCI_SW_RESET_TIMEOUT_MSECS       900000
 #define MLXSW_PCI_SW_RESET_WAIT_MSECS          100
 #define MLXSW_PCI_FW_READY                     0xA1844