From e1970fce115c4c0ffd4f2ee5cf4f08519274d8e8 Mon Sep 17 00:00:00 2001 From: Andres More Date: Tue, 26 Mar 2013 17:12:26 -0500 Subject: staging: vt6656: remove unused functions Removed defined symbols not being used elsewhere. Only compile tested. Signed-off-by: Andres More Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/channel.c | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'drivers/staging/vt6656/channel.c') diff --git a/drivers/staging/vt6656/channel.c b/drivers/staging/vt6656/channel.c index 542cc6f..8f2b04e 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; -} -- cgit v1.1