staging: rtl8723bs: drop test
[linux-2.6-block.git] / drivers / staging / rtl8723bs / hal / HalPhyRf_8723B.c
index a99a863be656aeb5a0588c5ff2790bf280450ff2..53d3bdf21a6f30334dc08ef47116108b0d8fb7f2 100644 (file)
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /******************************************************************************
  *
  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
  ******************************************************************************/
 
 #include <drv_types.h>
@@ -1360,7 +1352,6 @@ static void _PHY_ReloadMACRegisters8723B(
 static void _PHY_PathADDAOn8723B(
        struct adapter *padapter,
        u32 *ADDAReg,
-       bool isPathAOn,
        bool is2T
 )
 {
@@ -1371,7 +1362,7 @@ static void _PHY_PathADDAOn8723B(
 
        ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("ADDA ON.\n"));
 
-       pathOn = isPathAOn ? 0x01c00014 : 0x01c00014;
+       pathOn = 0x01c00014;
        if (false == is2T) {
                pathOn = 0x01c00014;
                PHY_SetBBReg(pDM_Odm->Adapter, ADDAReg[0], bMaskDWord, 0x01c00014);
@@ -1564,7 +1555,7 @@ static void phy_IQCalibrate_8723B(
        }
        ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQ Calibration for %s for %d times\n", (is2T ? "2T2R" : "1T1R"), t));
 
-       _PHY_PathADDAOn8723B(padapter, ADDA_REG, true, is2T);
+       _PHY_PathADDAOn8723B(padapter, ADDA_REG, is2T);
 
 /* no serial mode */