]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: brcm80211: Remove unused #defines ETHER_<foo>_LOCALADDR
authorJoe Perches <joe@perches.com>
Tue, 14 Dec 2010 00:56:57 +0000 (16:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 20:21:26 +0000 (12:21 -0800)
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>
drivers/staging/brcm80211/include/proto/ethernet.h

index cc17b428dd3ff64b6461931e7af1ddbba5d02804..a8981f6103472f087be8b1240b276ec8cc9df801 100644 (file)
@@ -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)