diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2008-12-25 18:14:04 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-25 18:14:04 -0800 |
commit | c03ea21fcf549eed42de7aaa965ced8bee17aa76 (patch) | |
tree | 40fa6ddb2baa7ee8715d5f7c4d43549cbc5c9489 /drivers/net/mlx4/en_cq.c | |
parent | 48374ddce72e278e29080e3177e74a13c034d8b4 (diff) | |
download | blackbird-op-linux-c03ea21fcf549eed42de7aaa965ced8bee17aa76.tar.gz blackbird-op-linux-c03ea21fcf549eed42de7aaa965ced8bee17aa76.zip |
mlx4_en: Removed redundant cq->armed flag
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_cq.c')
-rw-r--r-- | drivers/net/mlx4/en_cq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/mlx4/en_cq.c b/drivers/net/mlx4/en_cq.c index 1a936f4db2b7..23d54a0e681e 100644 --- a/drivers/net/mlx4/en_cq.c +++ b/drivers/net/mlx4/en_cq.c @@ -137,7 +137,6 @@ int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) int mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) { - cq->armed = 1; mlx4_cq_arm(&cq->mcq, MLX4_CQ_DB_REQ_NOT, priv->mdev->uar_map, &priv->mdev->uar_lock); |