diff options
author | Amir Vadai <amirv@mellanox.com> | 2013-10-15 14:55:23 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-17 19:10:50 (GMT) |
commit | 39e210fd23d45cf2521aaf0855c838bc5e37fbd6 (patch) | |
tree | dce174ecf68f8ba03fe92bb24ffdd5ff827414bd | |
parent | 5930e8d0ab3689f1e239566443ca8f53e45e01cc (diff) | |
download | linux-fsl-qoriq-39e210fd23d45cf2521aaf0855c838bc5e37fbd6.tar.xz |
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>
-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 a377484..c151e7a 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) u32 *outbox; u32 modifier; u16 token; - u16 type_m; u16 type; int err; u32 num_qps; @@ -1746,7 +1745,6 @@ void mlx4_opreq_action(struct work_struct *work) MLX4_GET(modifier, outbox, GET_OP_REQ_MODIFIER_OFFSET); MLX4_GET(token, outbox, GET_OP_REQ_TOKEN_OFFSET); MLX4_GET(type, outbox, GET_OP_REQ_TYPE_OFFSET); - type_m = type >> 12; type &= 0xfff; switch (type) { |