[HAL:HALPPC] HalAllocateCrashDumpRegisters(): Remove redundant MapRegisterNumber assignment (#2854)

Detected by CppCheck: redundantAssignment.
Addendum to commit 81f09273 (r28793).
This commit is contained in:
Serge Gautherie 2020-05-25 18:58:17 +02:00 committed by GitHub
parent 7c8d5635aa
commit 327813e7da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1979,7 +1979,6 @@ HalAllocateCrashDumpRegisters(IN PADAPTER_OBJECT AdapterObject,
}
/* Try to find free map registers */
MapRegisterNumber = MAXULONG;
MapRegisterNumber = RtlFindClearBitsAndSet(MasterAdapter->MapRegisters,
*NumberOfMapRegisters,
0);