diff options
author | Amir Vadai <amirv@mellanox.com> | 2013-10-15 10:55:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-17 15:10:50 -0400 |
commit | 39e210fd23d45cf2521aaf0855c838bc5e37fbd6 (patch) | |
tree | dce174ecf68f8ba03fe92bb24ffdd5ff827414bd /drivers | |
parent | 5930e8d0ab3689f1e239566443ca8f53e45e01cc (diff) |
net/mlx4: Unused local variable in mlx4_opreq_action
Clean up warning added by commit fe6f700d "net/mlx4_core: Respond to
operation request by firmware".
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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) { |