]> git.baikalelectronics.ru Git - kernel.git/commit
arc_emac: drop redundant mac address check
authorLuka Perkov <luka@openwrt.org>
Tue, 29 Oct 2013 23:11:00 +0000 (00:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2013 02:52:45 +0000 (22:52 -0400)
commitdee9e1a970ab459a470679a5756ef4fc4cac0e37
tree13d824fd0ba6d9bc3d76f7f4bcb144c4c1bd285c
parent40a4965eb58b7dd37400fbfb31f372fc04b6984d
arc_emac: drop redundant mac address check

Checking if MAC address is valid using is_valid_ether_addr() is already done in
of_get_mac_address(). While at it, reorganize checking so it matches checks in
other drivers.

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_main.c