diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-08-20 22:30:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-30 13:48:19 -0700 |
commit | 5154b0d0e26545c52350f42b1a4c1e6dc0c4360f (patch) | |
tree | 9018c85b40c5198e3c97dc8d43c3950aeacb128f /drivers/staging/vt6655/baseband.c | |
parent | 9e9df6704c1929ffd76e73f4740a468e00c44c11 (diff) |
staging: vt6655: device.h dead code remove bCCK
bCCK is always set to true, the only place it is used is in
BBvCalculateParameter which nots the value to false.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/baseband.c')
-rw-r--r-- | drivers/staging/vt6655/baseband.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c index c1025ff542e..7dd866e1280 100644 --- a/drivers/staging/vt6655/baseband.c +++ b/drivers/staging/vt6655/baseband.c @@ -1837,7 +1837,6 @@ BBvCalculateParameter( unsigned int cbTmp; bool bExtBit; unsigned char byPreambleType = pDevice->byPreambleType; - bool bCCK = pDevice->bCCK; cbBitCount = cbFrameLength * 8; bExtBit = false; @@ -1857,8 +1856,6 @@ BBvCalculateParameter( break; case RATE_5M: - if (!bCCK) - cbBitCount++; cbUsCount = (cbBitCount * 10) / 55; cbTmp = (cbUsCount * 55) / 10; if (cbTmp != cbBitCount) @@ -1870,9 +1867,6 @@ BBvCalculateParameter( break; case RATE_11M: - - if (!bCCK) - cbBitCount++; cbUsCount = cbBitCount / 11; cbTmp = cbUsCount * 11; if (cbTmp != cbBitCount) { |