1
0
Fork 0

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>
hifive-unleashed-5.1
Jacky Boen 2016-05-01 23:50:29 +08:00 committed by Greg Kroah-Hartman
parent 78481742be
commit ffc9b27571
1 changed files with 2 additions and 2 deletions

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