Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6147
b: refs/heads/master
c: 92a6b34
h: refs/heads/master
i:
  6145: 43ecc43
  6143: 9167c97
v: v3
  • Loading branch information
Hal Rosenstock authored and Roland Dreier committed Aug 27, 2005
1 parent a1dd71c commit 1763e80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 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: 2a1d9b7f09aaaacf235656cb32a40ba2c79590b3
refs/heads/master: 92a6b34bf4d0d11c54b2a6bdd6240f98cb326200
12 changes: 4 additions & 8 deletions trunk/drivers/infiniband/ulp/ipoib/ipoib_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,15 +782,11 @@ void ipoib_dev_cleanup(struct net_device *dev)

ipoib_ib_dev_cleanup(dev);

if (priv->rx_ring) {
kfree(priv->rx_ring);
priv->rx_ring = NULL;
}
kfree(priv->rx_ring);
kfree(priv->tx_ring);

if (priv->tx_ring) {
kfree(priv->tx_ring);
priv->tx_ring = NULL;
}
priv->rx_ring = NULL;
priv->tx_ring = NULL;
}

static void ipoib_setup(struct net_device *dev)
Expand Down

0 comments on commit 1763e80

Please sign in to comment.