diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2006-01-27 03:06:38 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 11:11:16 -0500 |
commit | ed9b5d457668392182659747a734b38e86820adb (patch) | |
tree | 0d3c6e28ef5b0d2392278ce8d6c0850b09e9e13f /drivers/net/mv643xx_eth.h | |
parent | cfc88b07292076f960b6782a7fea770abdac4ce6 (diff) |
[PATCH] mv643xx_eth: Remove needless mp->port_mac_addr
mp->port_mac_addr is just a redundant copy of dev->dev_addr, so remove it.
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/mv643xx_eth.h')
-rw-r--r-- | drivers/net/mv643xx_eth.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mv643xx_eth.h b/drivers/net/mv643xx_eth.h index f769f9b626ea..c83bcbdef4d5 100644 --- a/drivers/net/mv643xx_eth.h +++ b/drivers/net/mv643xx_eth.h | |||
@@ -324,7 +324,6 @@ struct mv643xx_mib_counters { | |||
324 | 324 | ||
325 | struct mv643xx_private { | 325 | struct mv643xx_private { |
326 | int port_num; /* User Ethernet port number */ | 326 | int port_num; /* User Ethernet port number */ |
327 | u8 port_mac_addr[6]; /* User defined port MAC address.*/ | ||
328 | u32 port_config; /* User port configuration value*/ | 327 | u32 port_config; /* User port configuration value*/ |
329 | u32 port_config_extend; /* User port config extend value*/ | 328 | u32 port_config_extend; /* User port config extend value*/ |
330 | u32 port_sdma_config; /* User port SDMA config value */ | 329 | u32 port_sdma_config; /* User port SDMA config value */ |
@@ -405,7 +404,7 @@ struct mv643xx_private { | |||
405 | /* Port operation control routines */ | 404 | /* Port operation control routines */ |
406 | static void eth_port_init(struct mv643xx_private *mp); | 405 | static void eth_port_init(struct mv643xx_private *mp); |
407 | static void eth_port_reset(unsigned int eth_port_num); | 406 | static void eth_port_reset(unsigned int eth_port_num); |
408 | static void eth_port_start(struct mv643xx_private *mp); | 407 | static void eth_port_start(struct net_device *dev); |
409 | 408 | ||
410 | /* Port MAC address routines */ | 409 | /* Port MAC address routines */ |
411 | static void eth_port_uc_addr_set(unsigned int eth_port_num, | 410 | static void eth_port_uc_addr_set(unsigned int eth_port_num, |