diff options
Diffstat (limited to 'drivers/net/mlx4/fw.c')
-rw-r--r-- | drivers/net/mlx4/fw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/mlx4/fw.c b/drivers/net/mlx4/fw.c index 535a4461d88c..61dc4951d6b0 100644 --- a/drivers/net/mlx4/fw.c +++ b/drivers/net/mlx4/fw.c | |||
@@ -617,9 +617,6 @@ int mlx4_QUERY_ADAPTER(struct mlx4_dev *dev, struct mlx4_adapter *adapter) | |||
617 | int err; | 617 | int err; |
618 | 618 | ||
619 | #define QUERY_ADAPTER_OUT_SIZE 0x100 | 619 | #define QUERY_ADAPTER_OUT_SIZE 0x100 |
620 | #define QUERY_ADAPTER_VENDOR_ID_OFFSET 0x00 | ||
621 | #define QUERY_ADAPTER_DEVICE_ID_OFFSET 0x04 | ||
622 | #define QUERY_ADAPTER_REVISION_ID_OFFSET 0x08 | ||
623 | #define QUERY_ADAPTER_INTA_PIN_OFFSET 0x10 | 620 | #define QUERY_ADAPTER_INTA_PIN_OFFSET 0x10 |
624 | #define QUERY_ADAPTER_VSD_OFFSET 0x20 | 621 | #define QUERY_ADAPTER_VSD_OFFSET 0x20 |
625 | 622 | ||
@@ -633,9 +630,6 @@ int mlx4_QUERY_ADAPTER(struct mlx4_dev *dev, struct mlx4_adapter *adapter) | |||
633 | if (err) | 630 | if (err) |
634 | goto out; | 631 | goto out; |
635 | 632 | ||
636 | MLX4_GET(adapter->vendor_id, outbox, QUERY_ADAPTER_VENDOR_ID_OFFSET); | ||
637 | MLX4_GET(adapter->device_id, outbox, QUERY_ADAPTER_DEVICE_ID_OFFSET); | ||
638 | MLX4_GET(adapter->revision_id, outbox, QUERY_ADAPTER_REVISION_ID_OFFSET); | ||
639 | MLX4_GET(adapter->inta_pin, outbox, QUERY_ADAPTER_INTA_PIN_OFFSET); | 633 | MLX4_GET(adapter->inta_pin, outbox, QUERY_ADAPTER_INTA_PIN_OFFSET); |
640 | 634 | ||
641 | get_board_id(outbox + QUERY_ADAPTER_VSD_OFFSET / 4, | 635 | get_board_id(outbox + QUERY_ADAPTER_VSD_OFFSET / 4, |