diff options
author | Andres More <more.andres@gmail.com> | 2013-03-26 17:12:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-26 16:13:21 -0700 |
commit | e1970fce115c4c0ffd4f2ee5cf4f08519274d8e8 (patch) | |
tree | 007fea1b190750c09a63bb43c35758290917989a /drivers/staging/vt6656/channel.c | |
parent | d88fe15b2d9993a594b6176f91eeb7f92d607d48 (diff) |
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.c | 38 |
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; -} |