Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172139
b: refs/heads/master
c: 026a6c2
h: refs/heads/master
i:
  172137: d016ba7
  172135: fd3eae2
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Dec 3, 2009
1 parent e70bc57 commit 93b5731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 94c982bd9f07b801f03cebe32b20f893b4ad6d27
refs/heads/master: 026a6c21646cf77ea838f3c121de29cdf948ca71
8 changes: 2 additions & 6 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -14482,7 +14482,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
if (err) {
printk(KERN_ERR PFX "Could not obtain valid ethernet address, "
"aborting.\n");
goto err_out_fw;
goto err_out_iounmap;
}

if (tp->tg3_flags3 & TG3_FLG3_ENABLE_APE) {
Expand All @@ -14491,7 +14491,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
printk(KERN_ERR PFX "Cannot map APE registers, "
"aborting.\n");
err = -ENOMEM;
goto err_out_fw;
goto err_out_iounmap;
}

tg3_ape_lock_init(tp);
Expand Down Expand Up @@ -14622,10 +14622,6 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
tp->aperegs = NULL;
}

err_out_fw:
if (tp->fw)
release_firmware(tp->fw);

err_out_iounmap:
if (tp->regs) {
iounmap(tp->regs);
Expand Down

0 comments on commit 93b5731

Please sign in to comment.