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

staging: brcm80211: Remove unused ether_<foo> #defines and struct

These are unused, just remove them.
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 3ca5ada5
...@@ -64,17 +64,7 @@ BWL_PRE_PACKED_STRUCT struct ether_addr { ...@@ -64,17 +64,7 @@ BWL_PRE_PACKED_STRUCT struct ether_addr {
#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_cmp(a, b) (!(((short *)a)[0] == ((short *)b)[0]) | \
!(((short *)a)[1] == ((short *)b)[1]) | \
!(((short *)a)[2] == ((short *)b)[2]))
#define ether_copy(s, d) { \
((short *)d)[0] = ((short *)s)[0]; \
((short *)d)[1] = ((short *)s)[1]; \
((short *)d)[2] = ((short *)s)[2]; }
static const struct ether_addr ether_bcast = { {255, 255, 255, 255, 255, 255} }; static const struct ether_addr ether_bcast = { {255, 255, 255, 255, 255, 255} };
static const struct ether_addr ether_null = { {0, 0, 0, 0, 0, 0} };
#define ETHER_ISBCAST(ea) ((((u8 *)(ea))[0] & \ #define ETHER_ISBCAST(ea) ((((u8 *)(ea))[0] & \
((u8 *)(ea))[1] & \ ((u8 *)(ea))[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