]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igbvf: Use ETH_ALEN
authorJoe Perches <joe@perches.com>
Sun, 18 Mar 2012 17:37:58 +0000 (17:37 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 13:25:12 +0000 (21:25 +0800)
commita18cc72d6fdbc969896d89d950977a006fc40034
treed791eacf990a1e36a55b49b11bb121af2da9622b
parentf65c9e793141c48ff1fbde1cf2c7f70e2763862d
igbvf: Use ETH_ALEN

Remove an unnecessary #define and use memcpy
instead of a loop to copy an ethernet address.

(cherry picked from commit 449e39d9d7a889f4467ca7c590390e4a0f610b70)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igbvf/defines.h
drivers/net/igbvf/vf.c