aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-13 19:56:57 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-16 15:21:26 -0500
commitee417a79567030ce726e9627aa52779e47c49ff0 (patch)
tree52eca736724b37bde63fb88b46b3c65044d4e344 /drivers
parentc9c62f4e2c9b526c5cbade3f3a61f126e6587c16 (diff)
staging: brcm80211: Remove unused #defines ETHER_<foo>_LOCALADDR
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/brcm80211/include/proto/ethernet.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/brcm80211/include/proto/ethernet.h b/drivers/staging/brcm80211/include/proto/ethernet.h
index cc17b428dd3f..a8981f610347 100644
--- a/drivers/staging/brcm80211/include/proto/ethernet.h
+++ b/drivers/staging/brcm80211/include/proto/ethernet.h
@@ -62,13 +62,6 @@ BWL_PRE_PACKED_STRUCT struct ether_addr {
62 u8 octet[ETHER_ADDR_LEN]; 62 u8 octet[ETHER_ADDR_LEN];
63} BWL_POST_PACKED_STRUCT; 63} BWL_POST_PACKED_STRUCT;
64 64
65#define ETHER_SET_LOCALADDR(ea) (((u8 *)(ea))[0] = (((u8 *)(ea))[0] | 2))
66#define ETHER_IS_LOCALADDR(ea) (((u8 *)(ea))[0] & 2)
67#define ETHER_CLR_LOCALADDR(ea) (((u8 *)(ea))[0] = \
68 (((u8 *)(ea))[0] & 0xd))
69#define ETHER_TOGGLE_LOCALADDR(ea) (((u8 *)(ea))[0] = \
70 (((u8 *)(ea))[0] ^ 2))
71
72#define ETHER_SET_UNICAST(ea) (((u8 *)(ea))[0] = (((u8 *)(ea))[0] & ~1)) 65#define ETHER_SET_UNICAST(ea) (((u8 *)(ea))[0] = (((u8 *)(ea))[0] & ~1))
73 66
74#define ETHER_ISMULTI(ea) (((const u8 *)(ea))[0] & 1) 67#define ETHER_ISMULTI(ea) (((const u8 *)(ea))[0] & 1)