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>
This commit is contained in:
Jacky Boen 2016-05-01 23:50:29 +08:00 committed by Greg Kroah-Hartman
parent 78481742be
commit ffc9b27571

View 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;
}