diff options
author | Mark Einon <mark.einon@gmail.com> | 2011-08-23 23:40:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 16:25:27 -0700 |
commit | bc8585fc063da29aae17351f7f63c9419b4daaad (patch) | |
tree | 649e932ad2bf1b41558236554b808b2c04da65cd /drivers/staging/et131x/et131x_netdev.c | |
parent | bf04415e63e2c733fa00756c099dacc66dd69b6c (diff) | |
download | op-kernel-dev-bc8585fc063da29aae17351f7f63c9419b4daaad.zip op-kernel-dev-bc8585fc063da29aae17351f7f63c9419b4daaad.tar.gz |
staging: et131x: Removing commented out code implemented elsewhere
Function et131x_set_mac_addr() contains commented out code that has been moved to
et131x_change_mtu() in the same file.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et131x_netdev.c')
-rw-r--r-- | drivers/staging/et131x/et131x_netdev.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/et131x/et131x_netdev.c b/drivers/staging/et131x/et131x_netdev.c index 5fe3ec4..93ef9d5 100644 --- a/drivers/staging/et131x/et131x_netdev.c +++ b/drivers/staging/et131x/et131x_netdev.c @@ -593,7 +593,6 @@ int et131x_set_mac_addr(struct net_device *netdev, void *new_mac) /* Set the new MAC */ /* netdev->set_mac_address = &new_mac; */ - /* netdev->mtu = new_mtu; */ memcpy(netdev->dev_addr, address->sa_data, netdev->addr_len); @@ -603,10 +602,6 @@ int et131x_set_mac_addr(struct net_device *netdev, void *new_mac) /* Free Rx DMA memory */ et131x_adapter_memory_free(adapter); - /* Set the config parameter for Jumbo Packet support */ - /* adapter->registry_jumbo_packet = new_mtu + 14; */ - /* blux: not needet here, we'll change the MAC */ - et131x_soft_reset(adapter); /* Alloc and init Rx DMA memory */ |