mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 07:02:23 +00:00
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:
parent
78481742be
commit
ffc9b27571
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user