mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
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>
This commit is contained in:
parent
3008dd9d9b
commit
b930eb56e3
@ -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;
|
||||
|
@ -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 *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user