From: Tobias Klauser Date: Tue, 11 Jan 2011 23:30:11 +0000 (+0000) Subject: netdev: bfin_mac: Use is_multicast_ether_addr helper X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=12252771691aaf4935206367e0917a8f697acfcb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git netdev: bfin_mac: Use is_multicast_ether_addr helper Signed-off-by: Tobias Klauser Acked-by: Mike Frysinger Signed-off-by: David S. Miller --- diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index 0b9fc5173aef..fe75e7a9742e 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers/net/bfin_mac.c @@ -1293,7 +1293,7 @@ static void bfin_mac_multicast_hash(struct net_device *dev) addrs = ha->addr; /* skip non-multicast addresses */ - if (!(*addrs & 1)) + if (!is_multicast_ether_addr(addrs)) continue; crc = ether_crc(ETH_ALEN, addrs);