Skip to content

Commit

Permalink
staging: brcm80211: Remove unused #defines ETHER_<foo>_LOCALADDR
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Dec 16, 2010
1 parent c9c62f4 commit ee417a7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/brcm80211/include/proto/ethernet.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ BWL_PRE_PACKED_STRUCT struct ether_addr {
u8 octet[ETHER_ADDR_LEN];
} 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_ISMULTI(ea) (((const u8 *)(ea))[0] & 1)
Expand Down

0 comments on commit ee417a7

Please sign in to comment.