diff options
author | Jacky Boen <aqiank@gmail.com> | 2016-05-01 23:50:29 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-01 14:34:50 -0700 |
commit | ffc9b27571c0add3cdaef2a7ea8e19209fe1259a (patch) | |
tree | cde1f61a00ae529a07bbbda27b87d577055a3210 /drivers | |
parent | 78481742be52577fd31670034b13b9b85e120d96 (diff) | |
download | linux-ffc9b27571c0add3cdaef2a7ea8e19209fe1259a.tar.bz2 |
Staging: drivers: rtl8188eu: move constants to the right in comparisons
Fixed coding style issue
Signed-off-by: Jacky Boen <aqiank@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 0c7456f39fb5..6b83ee3c21dd 100644 --- a/drivers/staging/rtl8188eu/hal/usb_halinit.c +++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c @@ -57,8 +57,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; } |