From: Matthias Beyer <mail@beyermatthias.de>
To: gregkh@linuxfoundation.org
Cc: Matthias Beyer <mail@beyermatthias.de>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
linux-wireless@vger.kernel.org, shivanib134@gmail.com,
ksenija.stanojevic@gmail.com, Jes.Sorensen@redhat.com,
meleodr@gmail.com, bhaktipriya96@gmail.com, bhumirks@gmail.com,
Larry.Finger@lwfinger.net
Subject: [PATCH v2 1/1] drivers: staging: rtl8723au: hal: Remove pointless test
Date: Sun, 4 Sep 2016 13:01:20 +0200 [thread overview]
Message-ID: <20160904110120.27028-2-mail@beyermatthias.de> (raw)
In-Reply-To: <20160904110120.27028-1-mail@beyermatthias.de>
In-Reply-To: <20160901155447.GB7979@kroah.com>
This patch removes the pointless `else if` test.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Reported-by: David Binderman <linuxdev.baldrick@gmail.com>
---
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c b/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c
index 6989580..47e8d69 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];
--
2.9.3
next prev parent reply other threads:[~2016-09-04 11:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 14:07 linux-4.8-rc3/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c:3533: pointless test ? David Binderman
2016-08-22 14:30 ` Greg KH
2016-08-23 19:44 ` [PATCH] drivers: staging: rtl823au: hal: Remove pointless test Matthias Beyer
2016-08-23 19:44 ` [PATCH] drivers: staging: rtl8723au: " Matthias Beyer
2016-08-31 19:32 ` [PATCH] drivers: staging: rtl823au: " Matthias Beyer
2016-09-01 15:54 ` Greg KH
2016-09-01 15:54 ` Greg KH
2016-09-04 11:01 ` [PATCH v2 0/1] " Matthias Beyer
2016-09-04 11:01 ` Matthias Beyer [this message]
2016-09-04 15:11 ` [PATCH v2 1/1] drivers: staging: rtl8723au: hal: " Sudip Mukherjee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160904110120.27028-2-mail@beyermatthias.de \
--to=mail@beyermatthias.de \
--cc=Jes.Sorensen@redhat.com \
--cc=Larry.Finger@lwfinger.net \
--cc=bhaktipriya96@gmail.com \
--cc=bhumirks@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=ksenija.stanojevic@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=meleodr@gmail.com \
--cc=shivanib134@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).