drivers: staging: rtl8723au: hal: Remove pointless test
authorMatthias Beyer <mail@beyermatthias.de>
Tue, 23 Aug 2016 19:44:17 +0000 (21:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 15:44:01 +0000 (17:44 +0200)
This patch removes the pointless `else if` test.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Reported-by: David Binderman <linuxdev.baldrick@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c

index 6989580..47e8d69 100644 (file)
@@ -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];