mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 01/11] Staging: drivers: rtl8188eu: move constants to the right in comparisons
@ 2016-05-01 15:50 Jacky Boen
  2016-05-01 15:50 ` [PATCH 02/11] Staging: drivers: rtl8188eu: fixed typo Jacky Boen
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Jacky Boen @ 2016-05-01 15:50 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Jacky Boen

Fixed coding style issue

Signed-off-by: Jacky Boen <aqiank@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 07a61b8..c5e5d52 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -62,8 +62,8 @@ static bool HalUsbSetQueuePipeMapping8188EUsb(struct adapter *adapt, u8 NumInPip
 	_ConfigNormalChipOutEP_8188E(adapt, NumOutPipe);
 
 	/*  Normal chip with one IN and one OUT doesn't have interrupt IN EP. */
-	if (1 == haldata->OutEpNumber) {
-		if (1 != NumInPipe)
+	if (haldata->OutEpNumber == 1) {
+		if (NumInPipe != 1)
 			return result;
 	}
 
-- 
2.7.4

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

end of thread, other threads:[~2016-05-01 15:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-01 15:50 [PATCH 01/11] Staging: drivers: rtl8188eu: move constants to the right in comparisons Jacky Boen
2016-05-01 15:50 ` [PATCH 02/11] Staging: drivers: rtl8188eu: fixed typo Jacky Boen
2016-05-01 15:50 ` [PATCH 03/11] Staging: drivers: rtl8188eu: fixed block comments style Jacky Boen
2016-05-01 15:50 ` [PATCH 04/11] Staging: drivers: rtl8188eu: fixed newlines style Jacky Boen
2016-05-01 15:50 ` [PATCH 05/11] Staging: drivers: rtl8188eu: fixed brace style Jacky Boen
2016-05-01 15:50 ` [PATCH 06/11] Staging: drivers: rtl8188eu: fixed unnecessary else branch Jacky Boen
2016-05-01 15:50 ` [PATCH 07/11] Staging: drivers: rtl8188eu: fixed extraneous indentation Jacky Boen
2016-05-01 15:50 ` [PATCH 08/11] Staging: drivers: rtl8188eu: fixed extraneous parentheses Jacky Boen
2016-05-01 15:50 ` [PATCH 09/11] Staging: drivers: rtl8188eu: fixed extraneous spaces Jacky Boen
2016-05-01 15:50 ` [PATCH 10/11] Staging: drivers: rtl8188eu: fixed if-NULL comparisons style Jacky Boen
2016-05-01 15:50 ` [PATCH 11/11] Staging: drivers: rtl8188eu: use sizeof(*ptr) instead of sizeof(struct) Jacky Boen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®