]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging: vt6655: Removal of Unused Function
authorRashika Kheria <rashika.kheria@gmail.com>
Wed, 16 Oct 2013 19:40:36 +0000 (01:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2013 01:49:19 +0000 (18:49 -0700)
This patch removes unused function 'RFbShutDown' from file rf.c

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/rf.c

index b5fa7de802a498fa87d1edbb8ae535af84bbd1a5..ce173cc16c192544da18dc3d0dddf09be1ed553a 100644 (file)
@@ -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
  *