aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros/atlx/atlx.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-03-18 17:37:57 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-19 16:53:08 -0400
commitc81f212450e4d85ed1ed3777316e8355caeb3848 (patch)
tree2ccf702e7fde4961519232d9bb57f7db67539d12 /drivers/net/ethernet/atheros/atlx/atlx.h
parentif_vlan: Remove VLAN_ETH_ALEN define and the 1 use of it (diff)
downloadlinux-dev-c81f212450e4d85ed1ed3777316e8355caeb3848.tar.xz
linux-dev-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 'drivers/net/ethernet/atheros/atlx/atlx.h')
-rw-r--r--drivers/net/ethernet/atheros/atlx/atlx.h1
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 */