diff options
author | Joe Perches <joe@perches.com> | 2012-03-18 18:37:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-19 21:53:08 +0100 |
commit | c81f212450e4d85ed1ed3777316e8355caeb3848 (patch) | |
tree | 2ccf702e7fde4961519232d9bb57f7db67539d12 /drivers/net/ethernet/atheros/atlx/atlx.h | |
parent | if_vlan: Remove VLAN_ETH_ALEN define and the 1 use of it (diff) | |
download | linux-c81f212450e4d85ed1ed3777316e8355caeb3848.tar.xz linux-c81f212450e4d85ed1ed3777316e8355caeb3848.zip |
atlx: Use ETH_ALEN
No need for yet another #define for this.
Convert NODE_ADDRESS_SIZE use to ETH_ALEN and remove #define.
Use memcpy instead of a loop to copy an address.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atlx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atlx.h b/drivers/net/ethernet/atheros/atlx/atlx.h index 14054b75aa62..448f5dcc02e6 100644 --- a/drivers/net/ethernet/atheros/atlx/atlx.h +++ b/drivers/net/ethernet/atheros/atlx/atlx.h @@ -484,7 +484,6 @@ /* For checksumming, the sum of all words in the EEPROM should equal 0xBABA */ #define EEPROM_SUM 0xBABA -#define NODE_ADDRESS_SIZE 6 struct atlx_spi_flash_dev { const char *manu_name; /* manufacturer id */ |