summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/channel.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/channel.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/channel.c')
-rw-r--r--drivers/staging/vt6656/channel.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/drivers/staging/vt6656/channel.c b/drivers/staging/vt6656/channel.c
index 542cc6fd949e..8f2b04e3d0e7 100644
--- a/drivers/staging/vt6656/channel.c
+++ b/drivers/staging/vt6656/channel.c
@@ -406,32 +406,6 @@ exit:
} /* end ChannelValid */
-/************************************************************************
- * CHvChannelGetList
- * Get Available Channel List for a given country
- * Input:
- * CountryCode = The country code defined in country.h
- * Output:
- * ChannelBitMask = (QWORD *) correspondent bit mask
- * of available channels
- * 0x0000000000000001 means channel 1 is supported
- * 0x0000000000000003 means channel 1,2 are supported
- * 0x000000000000000F means channel 1,2,..15 are supported
- ************************************************************************/
-bool
-CHvChannelGetList (
- unsigned int uCountryCodeIdx,
- u8 * pbyChannelTable
- )
-{
- if (uCountryCodeIdx >= CCODE_MAX) {
- return (false);
- }
- memcpy(pbyChannelTable, ChannelRuleTab[uCountryCodeIdx].bChannelIdxList, CB_MAX_CHANNEL);
- return (true);
-}
-
-
void CHvInitChannelTable(struct vnt_private *pDevice)
{
int bMultiBand = false;
@@ -503,15 +477,3 @@ void CHvInitChannelTable(struct vnt_private *pDevice)
}*/
}
}
-
-u8 CHbyGetChannelMapping(u8 byChannelNumber)
-{
-u8 ii;
-u8 byCHMapping = 0;
-
- for (ii = 1; ii <= CB_MAX_CHANNEL; ii++) {
- if (sChannelTbl[ii].byChannelNumber == byChannelNumber)
- byCHMapping = ii;
- }
- return byCHMapping;
-}