summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/tether.h
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-06-23 20:38:10 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-24 14:15:07 -0700
commit4722a26cc61983295ad8e7a552999ec847aa0abd (patch)
tree519b6298e21e44e73c66aca5bd83466c688965a8 /drivers/staging/vt6656/tether.h
parentcbf05091e53de6a879d16fcdb88ed9ab26295448 (diff)
staging: vt6656: replace IS_ETH_ADDRESS_EQUAL with compare_ether_addr
Code cleanup, removed custom macro to compare Ethernet addresses. Some checkpatch warnings on indentation were not resolved. The return value of compare_ether_addr was reversed, something to consider. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/tether.h')
-rw-r--r--drivers/staging/vt6656/tether.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/vt6656/tether.h b/drivers/staging/vt6656/tether.h
index f37dc82be8f9..505cedf0207c 100644
--- a/drivers/staging/vt6656/tether.h
+++ b/drivers/staging/vt6656/tether.h
@@ -204,12 +204,6 @@ S802_11Header, *PS802_11Header;
(*(PWORD)((PBYTE)(pbyEtherAddr) + 4) == 0) \
)
-#define IS_ETH_ADDRESS_EQUAL(pbyAddr1, pbyAddr2) ( \
- (*(PDWORD)(pbyAddr1) == *(PDWORD)(pbyAddr2)) && \
- (*(PWORD)((PBYTE)(pbyAddr1) + 4) == \
- *(PWORD)((PBYTE)(pbyAddr2) + 4)) \
-)
-
/*--------------------- Export Classes ----------------------------*/
/*--------------------- Export Variables --------------------------*/