Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57590
b: refs/heads/master
c: b581401
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Jun 7, 2007
1 parent 7e14cad commit 7776141
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 09360d5408cb641abff0f32a172a3332f02e8e88
refs/heads/master: b581401ed0cc83a4483ed39c00a14a60bacecc3a
3 changes: 0 additions & 3 deletions trunk/drivers/net/mlx4/intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ int mlx4_register_device(struct mlx4_dev *dev)
struct mlx4_priv *priv = mlx4_priv(dev);
struct mlx4_interface *intf;

INIT_LIST_HEAD(&priv->ctx_list);
spin_lock_init(&priv->ctx_lock);

mutex_lock(&intf_mutex);

list_add_tail(&priv->dev_list, &dev_list);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/mlx4/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,8 @@ static int __devinit mlx4_init_one(struct pci_dev *pdev,

dev = &priv->dev;
dev->pdev = pdev;
INIT_LIST_HEAD(&priv->ctx_list);
spin_lock_init(&priv->ctx_lock);

/*
* Now reset the HCA before we touch the PCI capabilities or
Expand Down

0 comments on commit 7776141

Please sign in to comment.