From: Matthias Beyer Date: Tue, 23 Aug 2016 19:44:17 +0000 (+0200) Subject: drivers: staging: rtl8723au: hal: Remove pointless test X-Git-Tag: v4.9-rc1~119^2~860 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=db0c12744f8d7ab3d5cbeb80c6705bc8134d5f53;p=karo-tx-linux.git drivers: staging: rtl8723au: hal: Remove pointless test This patch removes the pointless `else if` test. Signed-off-by: Matthias Beyer Reported-by: David Binderman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c b/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c index 6989580535a4..47e8d69baebd 100644 --- a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c +++ b/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c @@ -3530,7 +3530,7 @@ bthci_CmdLinkStatusNotify( pBtMgnt->ExtConfig.linkInfo[i].BTProfile, pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec)); pTriple += 4; - } else if (pBtMgnt->ExtConfig.HCIExtensionVer >= 1) { + } else { pBtMgnt->ExtConfig.linkInfo[i].ConnectHandle = *((u16 *)&pTriple[0]); pBtMgnt->ExtConfig.linkInfo[i].BTProfile = pTriple[2]; pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec = pTriple[3];