Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231930
b: refs/heads/master
c: 1956cc5
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Jan 19, 2011
1 parent 003a67f commit a922f7b
Show file tree
Hide file tree
Showing 2 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: 2fdc1c8093255f9da877d7b9ce3f46c2098377dc
refs/heads/master: 1956cc52e73984a39252994f0beee458fc0d8909
5 changes: 2 additions & 3 deletions trunk/drivers/net/ns83820.c
Original file line number Diff line number Diff line change
Expand Up @@ -1988,12 +1988,11 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev,
}

ndev = alloc_etherdev(sizeof(struct ns83820));
dev = PRIV(ndev);

err = -ENOMEM;
if (!dev)
if (!ndev)
goto out;

dev = PRIV(ndev);
dev->ndev = ndev;

spin_lock_init(&dev->rx_info.lock);
Expand Down

0 comments on commit a922f7b

Please sign in to comment.