linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-4.8-rc3/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c:3533: pointless test ?
@ 2016-08-22 14:07 David Binderman
  2016-08-22 14:30 ` Greg KH
  2016-08-23 19:44 ` [PATCH] drivers: staging: rtl823au: hal: Remove pointless test Matthias Beyer
  0 siblings, 2 replies; 10+ messages in thread
From: David Binderman @ 2016-08-22 14:07 UTC (permalink / raw)
  To: Larry.Finger, Jes.Sorensen, gregkh, linux-wireless, devel,
	Linux Kernel Mailing List, dcb314

Hello there,

linux-4.8-rc3/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c:3533]:
(style) Condition 'pBtMgnt.ExtConfig.HCIExtensionVer>=1' is always
true

Source code is

        if (pBtMgnt->ExtConfig.HCIExtensionVer < 1) {
        ....
        } else if (pBtMgnt->ExtConfig.HCIExtensionVer >= 1) {

Suggest remove second test.


Regards

David Binderman

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-09-04 15:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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       ` [PATCH v2 1/1] drivers: staging: rtl8723au: hal: " Matthias Beyer
2016-09-04 15:11         ` Sudip Mukherjee

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).