diff options
author | Michael Straube <straube.linux@gmail.com> | 2018-07-16 17:23:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-21 09:53:59 +0300 |
commit | cfd645643496d4b66cde42070e7f879d2a738ebc (patch) | |
tree | a942d34c50a26a5b2135c2c5fde91ada1c36b3a8 /drivers/staging/rtl8188eu/include/wifi.h | |
parent | 56edc4e3f909cf8d37e9aa16ce0b5dbc66734995 (diff) | |
download | linux-cfd645643496d4b66cde42070e7f879d2a738ebc.tar.xz |
staging: rtl8188eu: remove MacAddr_isBcst macro
Use is_broadcast_ether_addr instead of the MacAddr_isBcst macro.
The macro is not used anywhere else, so remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include/wifi.h')
-rw-r--r-- | drivers/staging/rtl8188eu/include/wifi.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188eu/include/wifi.h index a41e8eda02fb..4a56e54e38f6 100644 --- a/drivers/staging/rtl8188eu/include/wifi.h +++ b/drivers/staging/rtl8188eu/include/wifi.h @@ -257,13 +257,6 @@ enum WIFI_REG_DOMAIN { #define GetAddr4Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 24)) -#define MacAddr_isBcst(addr) \ - ( \ - ((addr[0] == 0xff) && (addr[1] == 0xff) && \ - (addr[2] == 0xff) && (addr[3] == 0xff) && \ - (addr[4] == 0xff) && (addr[5] == 0xff)) ? true : false \ -) - static inline int IS_MCAST(unsigned char *da) { if ((*da) & 0x01) |