staging: rtl8188eu: remove is_{multicast,broadcast}_mac_addr
authorMichael Straube <straube.linux@gmail.com>
Fri, 13 Jul 2018 18:05:08 +0000 (20:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 08:35:59 +0000 (10:35 +0200)
commit884d5ba53f22bf857cce790d2623dd4f1df34644
tree9aebef7e61c6b9b2a57d2447be23178f164fb3f0
parentbb4e1ca9b2008c0dc124ec39b68e94964f45e8c0
staging: rtl8188eu: remove is_{multicast,broadcast}_mac_addr

Remove custom is_multicast_mac_addr() and is_broadcast_mac_addr().
Use is_multicast_ether_addr() instead.

By definition the broadcast address is also a multicast address.
is_multicast_ether_addr() returns true for broadcast addresses.
Hence checking for multicast in the conditional is sufficient.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c
drivers/staging/rtl8188eu/include/ieee80211.h