diff options
author | Charles Clément <caratorn@gmail.com> | 2010-05-19 11:30:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-18 10:06:53 -0700 |
commit | 2ef98c606516be4efb176c3c5e339b769ca1833a (patch) | |
tree | 9c57ec1643ffc3fadb31338079fbb968c8931f34 /drivers/staging/vt6655/tether.h | |
parent | 8b0591e5017ea2a78f5181fd136e1b281323e5a3 (diff) | |
download | linux-2ef98c606516be4efb176c3c5e339b769ca1833a.tar.bz2 |
Staging: vt6655: use compare_ether_addr instead of custom macro
Replace custom macro IS_ETH_ADDRESS_EQUAL by compare_ether_addr from
<linux/etherdevice.h>.
Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/tether.h')
-rw-r--r-- | drivers/staging/vt6655/tether.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/tether.h b/drivers/staging/vt6655/tether.h index 71ef0f1c898b..d0183a25e651 100644 --- a/drivers/staging/vt6655/tether.h +++ b/drivers/staging/vt6655/tether.h @@ -186,13 +186,6 @@ typedef struct tagS802_11Header { S802_11Header, *PS802_11Header; /*--------------------- Export Macros ------------------------------*/ -// Frame type macro - -#define IS_ETH_ADDRESS_EQUAL(pbyAddr1, pbyAddr2) ( \ - (*(PDWORD)(pbyAddr1) == *(PDWORD)(pbyAddr2)) && \ - (*(PWORD)((PBYTE)(pbyAddr1) + 4) == \ - *(PWORD)((PBYTE)(pbyAddr2) + 4)) \ -) /*--------------------- Export Classes ----------------------------*/ |