From: Rashika Kheria Date: Wed, 16 Oct 2013 19:40:36 +0000 (+0530) Subject: Staging: vt6655: Removal of Unused Function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1d612bd4771a50f7aa61d0d40222628af589d6f7;p=linux-beck.git Staging: vt6655: Removal of Unused Function This patch removes unused function 'RFbShutDown' from file rf.c Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c index b5fa7de802a4..ce173cc16c19 100644 --- a/drivers/staging/vt6655/rf.c +++ b/drivers/staging/vt6655/rf.c @@ -775,36 +775,6 @@ bool RFbInit( return bResult; } -/* - * Description: RF ShutDown function - * - * Parameters: - * In: - * byBBType - * byRFType - * Out: - * none - * - * Return Value: true if succeeded; false if failed. - * - */ -bool RFbShutDown( - PSDevice pDevice -) -{ - bool bResult = true; - - switch (pDevice->byRFType) { - case RF_AIROHA7230: - bResult = IFRFbWriteEmbedded(pDevice->PortOffset, 0x1ABAEF00 + (BY_AL7230_REG_LEN << 3) + IFREGCTL_REGW); - break; - default: - bResult = true; - break; - } - return bResult; -} - /* * Description: Select channel *