diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/fw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/fw.c b/drivers/net/ethernet/mellanox/mlx4/fw.c index a377484cf544..c151e7a6710a 100644 --- a/drivers/net/ethernet/mellanox/mlx4/fw.c +++ b/drivers/net/ethernet/mellanox/mlx4/fw.c | |||
@@ -1713,7 +1713,6 @@ void mlx4_opreq_action(struct work_struct *work) | |||
1713 | u32 *outbox; | 1713 | u32 *outbox; |
1714 | u32 modifier; | 1714 | u32 modifier; |
1715 | u16 token; | 1715 | u16 token; |
1716 | u16 type_m; | ||
1717 | u16 type; | 1716 | u16 type; |
1718 | int err; | 1717 | int err; |
1719 | u32 num_qps; | 1718 | u32 num_qps; |
@@ -1746,7 +1745,6 @@ void mlx4_opreq_action(struct work_struct *work) | |||
1746 | MLX4_GET(modifier, outbox, GET_OP_REQ_MODIFIER_OFFSET); | 1745 | MLX4_GET(modifier, outbox, GET_OP_REQ_MODIFIER_OFFSET); |
1747 | MLX4_GET(token, outbox, GET_OP_REQ_TOKEN_OFFSET); | 1746 | MLX4_GET(token, outbox, GET_OP_REQ_TOKEN_OFFSET); |
1748 | MLX4_GET(type, outbox, GET_OP_REQ_TYPE_OFFSET); | 1747 | MLX4_GET(type, outbox, GET_OP_REQ_TYPE_OFFSET); |
1749 | type_m = type >> 12; | ||
1750 | type &= 0xfff; | 1748 | type &= 0xfff; |
1751 | 1749 | ||
1752 | switch (type) { | 1750 | switch (type) { |