Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468803
| From | Matthias Beyer <mail@beyermatthias.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] drivers: staging: rtl823au: hal: Remove pointless test |
| Date | 2016-08-23 22:00 +0200 |
| Message-ID | <s9q1A-8u4-17@gated-at.bofh.it> (permalink) |
| References | <s8Y5k-7jf-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
As reported by David Binderman, this test is useless as of
if (a < 3) {
/* ... */
} else if (a >= 3) {
/* ... */
}
so this patch removes the second check.
Matthias Beyer (1):
drivers: staging: rtl8723au: hal: Remove pointless test
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.9.2
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
linux-4.8-rc3/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c:3533: pointless test ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-08-22 16:10 +0200 Re: linux-4.8-rc3/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c:3533: pointless test ? Greg KH <gregkh@linuxfoundation.org> - 2016-08-22 16:40 +0200 [PATCH] drivers: staging: rtl8723au: hal: Remove pointless test Matthias Beyer <mail@beyermatthias.de> - 2016-08-23 22:00 +0200 [PATCH] drivers: staging: rtl823au: hal: Remove pointless test Matthias Beyer <mail@beyermatthias.de> - 2016-08-23 22:00 +0200
csiph-web