Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299540
b: refs/heads/master
c: 890fdf2
h: refs/heads/master
v: v3
  • Loading branch information
Hiroaki SHIMODA authored and David S. Miller committed Apr 17, 2012
1 parent 2ee13d4 commit 60a5f64
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a99ff7d0123b19ecad3b589480b6542716ab6b52
refs/heads/master: 890fdf2a0cb88202d1427589db2cf29c1bdd3c1d
6 changes: 3 additions & 3 deletions trunk/drivers/net/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ static int dummy_dev_init(struct net_device *dev)
return 0;
}

static void dummy_dev_free(struct net_device *dev)
static void dummy_dev_uninit(struct net_device *dev)
{
free_percpu(dev->dstats);
free_netdev(dev);
}

static const struct net_device_ops dummy_netdev_ops = {
.ndo_init = dummy_dev_init,
.ndo_uninit = dummy_dev_uninit,
.ndo_start_xmit = dummy_xmit,
.ndo_validate_addr = eth_validate_addr,
.ndo_set_rx_mode = set_multicast_list,
Expand All @@ -128,7 +128,7 @@ static void dummy_setup(struct net_device *dev)

/* Initialize the device structure. */
dev->netdev_ops = &dummy_netdev_ops;
dev->destructor = dummy_dev_free;
dev->destructor = free_netdev;

/* Fill in device structure with ethernet-generic values. */
dev->tx_queue_len = 0;
Expand Down

0 comments on commit 60a5f64

Please sign in to comment.