]> git.karo-electronics.de Git - linux-beck.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)
commit99470819b1a89f77c1eb44f6b3328c1aeb2c87d0
tree13d824fd0ba6d9bc3d76f7f4bcb144c4c1bd285c
parent6c7a9a3c7838eab1f17ef00c87925151be06cf1c
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