staging: rtl8723au: rtw_pwrctrl.c: Remove an unnecessary COEXIST #ifdef
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 25 May 2014 20:43:33 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:14:43 +0000 (15:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_pwrctrl.c

index f4e32d9efb8b5ad6dab8b6f9bd3c9e6079563c0a..ef9b46879f110d17a73dbe9c72579a2b742cb1c2 100644 (file)
@@ -350,11 +350,8 @@ void rtw_set_ps_mode23a(struct rtw_adapter *padapter, u8 ps_mode,
                rtl8723a_set_FwPwrMode_cmd(padapter, ps_mode);
                pwrpriv->bFwCurrentInPSMode = false;
        } else {
-               if (PS_RDY_CHECK(padapter)
-#ifdef CONFIG_8723AU_BT_COEXIST
-                       || (rtl8723a_BT_using_antenna_1(padapter))
-#endif
-                       ) {
+               if (PS_RDY_CHECK(padapter) ||
+                   rtl8723a_BT_using_antenna_1(padapter)) {
                        DBG_8723A("%s: Enter 802.11 power save\n", __func__);
 
                        pwrpriv->bFwCurrentInPSMode = true;