summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/mac.c
diff options
context:
space:
mode:
authorAndres More2013-03-26 23:12:26 +0100
committerGreg Kroah-Hartman2013-03-27 00:13:21 +0100
commite1970fce115c4c0ffd4f2ee5cf4f08519274d8e8 (patch)
tree007fea1b190750c09a63bb43c35758290917989a /drivers/staging/vt6656/mac.c
parentstaging: davinci: Fix typo in staging/media/davinci (diff)
downloadkernel-qcow2-linux-e1970fce115c4c0ffd4f2ee5cf4f08519274d8e8.tar.gz
kernel-qcow2-linux-e1970fce115c4c0ffd4f2ee5cf4f08519274d8e8.tar.xz
kernel-qcow2-linux-e1970fce115c4c0ffd4f2ee5cf4f08519274d8e8.zip
staging: vt6656: remove unused functions
Removed defined symbols not being used elsewhere. Only compile tested. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/mac.c')
-rw-r--r--drivers/staging/vt6656/mac.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/drivers/staging/vt6656/mac.c b/drivers/staging/vt6656/mac.c
index cb61e7222bc8..e003b1092b21 100644
--- a/drivers/staging/vt6656/mac.c
+++ b/drivers/staging/vt6656/mac.c
@@ -45,51 +45,6 @@ static int msglevel =MSG_LEVEL_INFO;
-
-
-
-
-/*
- * Description:
- * Set this hash index into multicast address register bit
- *
- * Parameters:
- * In:
- * byHashIdx - Hash index to set
- * Out:
- * none
- *
- * Return Value: none
- *
- */
-void MACvSetMultiAddrByHash(struct vnt_private *pDevice, u8 byHashIdx)
-{
- u8 uByteIdx;
- u8 byBitMask;
- u8 pbyData[2];
-
-
- // calculate byte position
- uByteIdx = byHashIdx / 8;
-
- // calculate bit position
- byBitMask = 1;
- byBitMask <<= (byHashIdx % 8);
- // turn on the bit
-
- pbyData[0] = byBitMask;
- pbyData[1] = byBitMask;
-
- CONTROLnsRequestOut(pDevice,
- MESSAGE_TYPE_WRITE_MASK,
- (u16) (MAC_REG_MAR0 + uByteIdx),
- MESSAGE_REQUEST_MACREG,
- 2,
- pbyData);
-}
-
-
-
/*
* Description:
* Write MAC Multicast Address Mask
@@ -157,26 +112,6 @@ void MACvSetBBType(struct vnt_private *pDevice, u8 byType)
);
}
-void MACvSetMISCFifo(struct vnt_private *pDevice, u16 wOffset, u32 dwData)
-{
- u8 pbyData[4];
-
- if (wOffset > 273)
- return;
- pbyData[0] = (u8)dwData;
- pbyData[1] = (u8)(dwData>>8);
- pbyData[2] = (u8)(dwData>>16);
- pbyData[3] = (u8)(dwData>>24);
-
- CONTROLnsRequestOut(pDevice,
- MESSAGE_TYPE_WRITE_MISCFF,
- wOffset,
- 0,
- 4,
- pbyData
- );
-}
-
/*
* Description:
* Disable the Key Entry by MISCFIFO