]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6655: dead code remove CARDbAddBasicRate
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 7 Nov 2014 19:06:01 +0000 (19:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 21:36:53 +0000 (13:36 -0800)
we nonlonger set rates in the driver

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/card.c
drivers/staging/vt6655/card.h

index d7b023b57b1295e46ec7f589d635f475fc6afa63..7b2596960dc4a140f4da1948811fac5e6a3e79d9 100644 (file)
@@ -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;
index f12afefd7fd8942cdbb04b7aee4845d62d12f084..2449f3cb56961d2d1d8837e8771ba5d6a58d5487 100644 (file)
@@ -76,7 +76,6 @@ struct vnt_private;
 void CARDvSetRSPINF(struct vnt_private *, CARD_PHY_TYPE ePHYType);
 void vUpdateIFS(struct vnt_private *);
 void CARDvUpdateBasicTopRate(struct vnt_private *);
-bool CARDbAddBasicRate(struct vnt_private *, unsigned short wRateIdx);
 bool CARDbIsOFDMinBasicRate(struct vnt_private *);
 void CARDvSetLoopbackMode(void __iomem *dwIoBase, unsigned short wLoopbackMode);
 bool CARDbSoftwareReset(struct vnt_private *);