Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228389
b: refs/heads/master
c: 47c6de7
h: refs/heads/master
i:
  228387: f4b06f6
v: v3
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Dec 16, 2010
1 parent 2a7093b commit d3a0eef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ca5ada504a41d9a8afd1e25f85f11d1761efa5f
refs/heads/master: 47c6de7d37619d105de0367aece9ab10288225bc
10 changes: 0 additions & 10 deletions trunk/drivers/staging/brcm80211/include/proto/ethernet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_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_null = { {0, 0, 0, 0, 0, 0} };

#define ETHER_ISBCAST(ea) ((((u8 *)(ea))[0] & \
((u8 *)(ea))[1] & \
Expand Down

0 comments on commit d3a0eef

Please sign in to comment.