diff options
author | Jim Lieb | 2009-08-12 23:54:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:02:08 +0200 |
commit | 8a3d91b02830dd7c58d27e5de65222219ac2163f (patch) | |
tree | 90144dce79d0be450803761e51969e1b93ad62f4 /drivers/staging/vt6656/tether.c | |
parent | Staging: vt665x: cleanup USB definitions (diff) | |
download | kernel-qcow2-linux-8a3d91b02830dd7c58d27e5de65222219ac2163f.tar.gz kernel-qcow2-linux-8a3d91b02830dd7c58d27e5de65222219ac2163f.tar.xz kernel-qcow2-linux-8a3d91b02830dd7c58d27e5de65222219ac2163f.zip |
Staging: vt665x: remove tbit.h
Remove use of tbit macros and remove the header file.
Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/tether.c')
-rw-r--r-- | drivers/staging/vt6656/tether.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/tether.c b/drivers/staging/vt6656/tether.c index 7268735d01ce..c90b469ad545 100644 --- a/drivers/staging/vt6656/tether.c +++ b/drivers/staging/vt6656/tether.c @@ -34,7 +34,6 @@ #include "device.h" #include "tmacro.h" -#include "tbit.h" #include "tcrc.h" #include "tether.h" @@ -74,7 +73,7 @@ BYTE ETHbyGetHashIndexByCrc32 (PBYTE pbyMultiAddr) // reverse most bit to least bit for (ii = 0; ii < (sizeof(byTmpHash) * 8); ii++) { byHash <<= 1; - if (BITbIsBitOn(byTmpHash, 0x01)) + if (byTmpHash & 0x01) byHash |= 1; byTmpHash >>= 1; } |