Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111804
b: refs/heads/master
c: 7c0965e
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Jeff Garzik committed Sep 24, 2008
1 parent e378a8e commit 376f2e1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 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: 96ca4a2cc1454cf633a1e0796b7ef39d937b87ec
refs/heads/master: 7c0965e614f076331bf4628fae005c844d2f1f69
1 change: 0 additions & 1 deletion trunk/drivers/net/tulip/de2104x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,6 @@ static int de_close (struct net_device *dev)

de_free_rings(de);
de_adapter_sleep(de);
pci_disable_device(de->pdev);
return 0;
}

Expand Down
8 changes: 0 additions & 8 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,14 +967,6 @@ int dev_set_alias(struct net_device *dev, const char *alias, size_t len)
if (len >= IFALIASZ)
return -EINVAL;

if (!len) {
if (dev->ifalias) {
kfree(dev->ifalias);
dev->ifalias = NULL;
}
return 0;
}

dev->ifalias = krealloc(dev->ifalias, len+1, GFP_KERNEL);
if (!dev->ifalias)
return -ENOMEM;
Expand Down

0 comments on commit 376f2e1

Please sign in to comment.