Staging: drivers: rtl8188eu: move constants to the right in comparisons
authorJacky Boen <aqiank@gmail.com>
Sun, 1 May 2016 15:50:29 +0000 (23:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2016 21:34:50 +0000 (14:34 -0700)
Fixed coding style issue

Signed-off-by: Jacky Boen <aqiank@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/usb_halinit.c

index 0c7456f39fb5b8c12b177cdcf2ae46b8f333354e..6b83ee3c21ddab47ce30e8974d99c8b8084b7d80 100644 (file)
@@ -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;
        }