Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88181
b: refs/heads/master
c: 5da4e37
h: refs/heads/master
i:
  88179: 1429f8c
v: v3
  • Loading branch information
Harvey Harrison authored and Jeff Garzik committed Apr 4, 2008
1 parent e23a5a1 commit baabf45
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 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: 23556323b22fef35bdc36465b7e7439ba3748c9f
refs/heads/master: 5da4e37e59663bd1e9eae1d717e2ceb178a485b8
2 changes: 0 additions & 2 deletions trunk/drivers/net/phy/marvell.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ static int m88e1111_config_init(struct phy_device *phydev)
}

if (phydev->interface == PHY_INTERFACE_MODE_SGMII) {
int temp;

temp = phy_read(phydev, MII_M1111_PHY_EXT_SR);
if (temp < 0)
return temp;
Expand Down
15 changes: 0 additions & 15 deletions trunk/net/8021q/vlan_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,20 +692,6 @@ static int vlan_dev_init(struct net_device *dev)
return 0;
}

static void vlan_dev_uninit(struct net_device *dev)
{
struct vlan_priority_tci_mapping *pm;
struct vlan_dev_info *vlan = vlan_dev_info(dev);
int i;

for (i = 0; i < ARRAY_SIZE(vlan->egress_priority_map); i++) {
while ((pm = vlan->egress_priority_map[i]) != NULL) {
vlan->egress_priority_map[i] = pm->next;
kfree(pm);
}
}
}

void vlan_setup(struct net_device *dev)
{
ether_setup(dev);
Expand All @@ -715,7 +701,6 @@ void vlan_setup(struct net_device *dev)

dev->change_mtu = vlan_dev_change_mtu;
dev->init = vlan_dev_init;
dev->uninit = vlan_dev_uninit;
dev->open = vlan_dev_open;
dev->stop = vlan_dev_stop;
dev->set_mac_address = vlan_dev_set_mac_address;
Expand Down

0 comments on commit baabf45

Please sign in to comment.