[FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces

This commit is contained in:
Victor Perevertkin 2021-06-11 15:29:21 +03:00
parent 4b4ffa92f5
commit 34593d933b
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
952 changed files with 12942 additions and 12942 deletions

View file

@ -158,7 +158,7 @@ PIP_INTERFACE GetDefaultInterface(VOID)
KIRQL OldIrql;
ULONG Index = 0;
ULONG IfStatus;
IF_LIST_ITER(CurrentIF);
TcpipAcquireSpinLock(&InterfaceListLock, &OldIrql);
@ -174,8 +174,8 @@ PIP_INTERFACE GetDefaultInterface(VOID)
TcpipAcquireSpinLock(&InterfaceListLock, &OldIrql);
}
} EndFor(CurrentIF);
} EndFor(CurrentIF);
/* Try to continue from the next adapter */
ForEachInterface(CurrentIF) {
if (CurrentIF->Context && (Index++ == NextDefaultAdapter)) {
@ -190,7 +190,7 @@ PIP_INTERFACE GetDefaultInterface(VOID)
TcpipAcquireSpinLock(&InterfaceListLock, &OldIrql);
}
} EndFor(CurrentIF);
/* No luck, so we'll choose the first adapter this time */
Index = 0;
ForEachInterface(CurrentIF) {
@ -207,7 +207,7 @@ PIP_INTERFACE GetDefaultInterface(VOID)
TcpipAcquireSpinLock(&InterfaceListLock, &OldIrql);
}
} EndFor(CurrentIF);
/* Even that didn't work, so we'll just go with loopback */
NextDefaultAdapter = 0;
TcpipReleaseSpinLock(&InterfaceListLock, OldIrql);