Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352639
b: refs/heads/master
c: f1045f5
h: refs/heads/master
i:
  352637: 1941121
  352635: c2b3197
  352631: 9b27e25
  352623: e8d4d53
  352607: 9b80e87
  352575: 49ad5f5
  352511: b38dfb9
v: v3
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Feb 11, 2013
1 parent 4904417 commit 958d861
Show file tree
Hide file tree
Showing 3 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: d9d76a045f2883f2e6cf00a43cb79b2e5a8db323
refs/heads/master: f1045f5e1f4f7d94f4e3a9600e3a3c3eec2650ec
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/ti/wlcore/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,8 @@ static int wl1271_probe(struct sdio_func *func,
return -ENODEV;

pdev_data = kzalloc(sizeof(*pdev_data), GFP_KERNEL);
if (!pdev_data) {
dev_err(&func->dev, "can't allocate platdev_data\n");
if (!pdev_data)
goto out;
}

pdev_data->if_ops = &sdio_ops;

Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/ti/wlcore/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,8 @@ static int wl1271_probe(struct spi_device *spi)
int ret = -ENOMEM;

pdev_data = kzalloc(sizeof(*pdev_data), GFP_KERNEL);
if (!pdev_data) {
dev_err(&spi->dev, "can't allocate platdev_data\n");
if (!pdev_data)
goto out;
}

pdev_data->pdata = spi->dev.platform_data;
if (!pdev_data->pdata) {
Expand Down

0 comments on commit 958d861

Please sign in to comment.