mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue