Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369627
b: refs/heads/master
c: a652bf0
h: refs/heads/master
i:
  369625: 43e148e
  369623: 221273e
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Apr 22, 2013
1 parent dfb00db commit fcdc658
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 991c209393bc30ccb36e212167bf3ecb5f33ff07
refs/heads/master: a652bf0381ae003d37628dac6dc5e4593ca535b7
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,10 +760,8 @@ struct brcmf_if *brcmf_add_if(struct brcmf_pub *drvr, s32 bssidx, s32 ifidx,
brcmf_dbg(INFO, "allocate netdev interface\n");
/* Allocate netdev, including space for private structure */
ndev = alloc_netdev(sizeof(*ifp), name, ether_setup);
if (!ndev) {
brcmf_err("OOM - alloc_netdev\n");
if (!ndev)
return ERR_PTR(-ENOMEM);
}

ifp = netdev_priv(ndev);
ifp->ndev = ndev;
Expand Down

0 comments on commit fcdc658

Please sign in to comment.