Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299556
b: refs/heads/master
c: 2db0d2b
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Bither authored and John W. Linville committed Apr 13, 2012
1 parent 02b3edf commit 9ed53ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 32b92f4f3f261697a49f944e31920dbcbbd4ad01
refs/heads/master: 2db0d2ba97801fb57c91e99b9e22b2a24c32d3d7
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/ath/ath5k/ahb.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static int ath_ahb_probe(struct platform_device *pdev)
if (res == NULL) {
dev_err(&pdev->dev, "no IRQ resource found\n");
ret = -ENXIO;
goto err_out;
goto err_iounmap;
}

irq = res->start;
Expand All @@ -129,7 +129,7 @@ static int ath_ahb_probe(struct platform_device *pdev)
if (hw == NULL) {
dev_err(&pdev->dev, "no memory for ieee80211_hw\n");
ret = -ENOMEM;
goto err_out;
goto err_iounmap;
}

ah = hw->priv;
Expand Down Expand Up @@ -186,6 +186,8 @@ static int ath_ahb_probe(struct platform_device *pdev)
err_free_hw:
ieee80211_free_hw(hw);
platform_set_drvdata(pdev, NULL);
err_iounmap:
iounmap(mem);
err_out:
return ret;
}
Expand Down

0 comments on commit 9ed53ff

Please sign in to comment.