atlx: Use ETH_ALEN
authorJoe Perches <joe@perches.com>
Sun, 18 Mar 2012 17:37:57 +0000 (17:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Mar 2012 20:53:08 +0000 (16:53 -0400)
commitc81f212450e4d85ed1ed3777316e8355caeb3848
tree2ccf702e7fde4961519232d9bb57f7db67539d12
parenta3f671b3152919e72af261333402c0f1272bdf59
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>
drivers/net/ethernet/atheros/atlx/atl2.c
drivers/net/ethernet/atheros/atlx/atl2.h
drivers/net/ethernet/atheros/atlx/atlx.h