summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/card.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-11-07 19:06:01 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 13:36:53 -0800
commitb930eb56e381b11fbf93c4c25fc441eddc22b1cb (patch)
tree4b15712483bd0d71fcbab1c3e23a3e9e93c2e836 /drivers/staging/vt6655/card.c
parent3008dd9d9bcca3196659667648994793acea7cb9 (diff)
downloadlinux-stable-b930eb56e381b11fbf93c4c25fc441eddc22b1cb.tar.gz
linux-stable-b930eb56e381b11fbf93c4c25fc441eddc22b1cb.tar.bz2
linux-stable-b930eb56e381b11fbf93c4c25fc441eddc22b1cb.zip
staging: vt6655: dead code remove CARDbAddBasicRate
we nonlonger set rates in the driver Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/card.c')
-rw-r--r--drivers/staging/vt6655/card.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index d7b023b57b12..7b2596960dc4 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -861,18 +861,6 @@ void CARDvUpdateBasicTopRate(struct vnt_private *pDevice)
pDevice->byTopCCKBasicRate = byTopCCK;
}
-bool CARDbAddBasicRate(struct vnt_private *pDevice, unsigned short wRateIdx)
-{
- unsigned short wRate = (unsigned short)(1<<wRateIdx);
-
- pDevice->wBasicRate |= wRate;
-
- /* Determines the highest basic rate. */
- CARDvUpdateBasicTopRate((void *)pDevice);
-
- return true;
-}
-
bool CARDbIsOFDMinBasicRate(struct vnt_private *pDevice)
{
int ii;