Commit ee417a79 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

staging: brcm80211: Remove unused #defines ETHER_<foo>_LOCALADDR

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c9c62f4e
...@@ -62,13 +62,6 @@ BWL_PRE_PACKED_STRUCT struct ether_addr { ...@@ -62,13 +62,6 @@ BWL_PRE_PACKED_STRUCT struct ether_addr {
u8 octet[ETHER_ADDR_LEN]; u8 octet[ETHER_ADDR_LEN];
} BWL_POST_PACKED_STRUCT; } BWL_POST_PACKED_STRUCT;
#define ETHER_SET_LOCALADDR(ea) (((u8 *)(ea))[0] = (((u8 *)(ea))[0] | 2))
#define ETHER_IS_LOCALADDR(ea) (((u8 *)(ea))[0] & 2)
#define ETHER_CLR_LOCALADDR(ea) (((u8 *)(ea))[0] = \
(((u8 *)(ea))[0] & 0xd))
#define ETHER_TOGGLE_LOCALADDR(ea) (((u8 *)(ea))[0] = \
(((u8 *)(ea))[0] ^ 2))
#define ETHER_SET_UNICAST(ea) (((u8 *)(ea))[0] = (((u8 *)(ea))[0] & ~1)) #define ETHER_SET_UNICAST(ea) (((u8 *)(ea))[0] = (((u8 *)(ea))[0] & ~1))
#define ETHER_ISMULTI(ea) (((const u8 *)(ea))[0] & 1) #define ETHER_ISMULTI(ea) (((const u8 *)(ea))[0] & 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment