Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368211
b: refs/heads/master
c: 3ffd880
h: refs/heads/master
i:
  368209: 1c42a68
  368207: 4977541
v: v3
  • Loading branch information
Silviu-Mihai Popescu authored and David S. Miller committed Mar 12, 2013
1 parent 5468c64 commit 74311d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 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: b6bb4dfcb1803765e7d12a9807a8d4650545199a
refs/heads/master: 3ffd880d3c6c63cdf575764da9e903fc3249937d
4 changes: 1 addition & 3 deletions trunk/drivers/net/ethernet/amd/atarilance.c
Original file line number Diff line number Diff line change
Expand Up @@ -1147,9 +1147,7 @@ static struct net_device *atarilance_dev;
static int __init atarilance_module_init(void)
{
atarilance_dev = atarilance_probe(-1);
if (IS_ERR(atarilance_dev))
return PTR_ERR(atarilance_dev);
return 0;
return PTR_RET(atarilance_dev);
}

static void __exit atarilance_module_exit(void)
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/net/ethernet/amd/mvme147.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ static struct net_device *dev_mvme147_lance;
int __init init_module(void)
{
dev_mvme147_lance = mvme147lance_probe(-1);
if (IS_ERR(dev_mvme147_lance))
return PTR_ERR(dev_mvme147_lance);
return 0;
return PTR_RET(dev_mvme147_lance);
}

void __exit cleanup_module(void)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/amd/ni65.c
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ MODULE_PARM_DESC(dma, "ni6510 ISA DMA channel (ignored for some cards)");
int __init init_module(void)
{
dev_ni65 = ni65_probe(-1);
return IS_ERR(dev_ni65) ? PTR_ERR(dev_ni65) : 0;
return PTR_RET(dev_ni65);
}

void __exit cleanup_module(void)
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/net/ethernet/amd/sun3lance.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,7 @@ static struct net_device *sun3lance_dev;
int __init init_module(void)
{
sun3lance_dev = sun3lance_probe(-1);
if (IS_ERR(sun3lance_dev))
return PTR_ERR(sun3lance_dev);
return 0;
return PTR_RET(sun3lance_dev);
}

void __exit cleanup_module(void)
Expand Down

0 comments on commit 74311d4

Please sign in to comment.