diff options
author | Joe Perches <joe@perches.com> | 2010-12-13 19:56:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 15:21:27 -0500 |
commit | 47c6de7d37619d105de0367aece9ab10288225bc (patch) | |
tree | 23fac0f33532c06d910c3b580b0b8cd9cf5542fc | |
parent | 3ca5ada504a41d9a8afd1e25f85f11d1761efa5f (diff) |
staging: brcm80211: Remove unused ether_<foo> #defines and struct
These are unused, just remove them.
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>
-rw-r--r-- | drivers/staging/brcm80211/include/proto/ethernet.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/brcm80211/include/proto/ethernet.h b/drivers/staging/brcm80211/include/proto/ethernet.h index a2353a50874e..1b352c5e29b8 100644 --- a/drivers/staging/brcm80211/include/proto/ethernet.h +++ b/drivers/staging/brcm80211/include/proto/ethernet.h | |||
@@ -64,17 +64,7 @@ BWL_PRE_PACKED_STRUCT struct ether_addr { | |||
64 | 64 | ||
65 | #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)) |
66 | 66 | ||
67 | #define ether_cmp(a, b) (!(((short *)a)[0] == ((short *)b)[0]) | \ | ||
68 | !(((short *)a)[1] == ((short *)b)[1]) | \ | ||
69 | !(((short *)a)[2] == ((short *)b)[2])) | ||
70 | |||
71 | #define ether_copy(s, d) { \ | ||
72 | ((short *)d)[0] = ((short *)s)[0]; \ | ||
73 | ((short *)d)[1] = ((short *)s)[1]; \ | ||
74 | ((short *)d)[2] = ((short *)s)[2]; } | ||
75 | |||
76 | static const struct ether_addr ether_bcast = { {255, 255, 255, 255, 255, 255} }; | 67 | static const struct ether_addr ether_bcast = { {255, 255, 255, 255, 255, 255} }; |
77 | static const struct ether_addr ether_null = { {0, 0, 0, 0, 0, 0} }; | ||
78 | 68 | ||
79 | #define ETHER_ISBCAST(ea) ((((u8 *)(ea))[0] & \ | 69 | #define ETHER_ISBCAST(ea) ((((u8 *)(ea))[0] & \ |
80 | ((u8 *)(ea))[1] & \ | 70 | ((u8 *)(ea))[1] & \ |