Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290458
b: refs/heads/master
c: f27fd49
h: refs/heads/master
v: v3
  • Loading branch information
Danny Kukawka authored and David S. Miller committed Feb 24, 2012
1 parent 1222264 commit 0bfb333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: bc2f7996858db66f2d5b154aac10971655f72cad
refs/heads/master: f27fd49962dc0f608e5547fc7ae98a8243570610
10 changes: 2 additions & 8 deletions trunk/drivers/net/ethernet/amd/hplance.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ static int __devinit hplance_init_one(struct dio_dev *d,
{
struct net_device *dev;
int err = -ENOMEM;
int i;

dev = alloc_etherdev(sizeof(struct hplance_private));
if (!dev)
Expand All @@ -107,13 +106,8 @@ static int __devinit hplance_init_one(struct dio_dev *d,

dio_set_drvdata(d, dev);

printk(KERN_INFO "%s: %s; select code %d, addr %2.2x", dev->name, d->name, d->scode, dev->dev_addr[0]);

for (i=1; i<6; i++) {
printk(":%2.2x", dev->dev_addr[i]);
}

printk(", irq %d\n", d->ipl);
printk(KERN_INFO "%s: %s; select code %d, addr %pM, irq %d\n",
dev->name, d->name, d->scode, dev->dev_addr, d->ipl);

return 0;

Expand Down

0 comments on commit 0bfb333

Please sign in to comment.