mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Simplify code.
Change-Id: If730d02312da01515ae53b5faaeb5d33419ec4ba Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
This commit is contained in:
@@ -134,10 +134,7 @@ void WddmResidencyController::checkTrimCandidateCount() {
|
||||
}
|
||||
|
||||
bool WddmResidencyController::checkTrimCandidateListCompaction() {
|
||||
if (2 * trimCandidatesCount <= trimCandidateList.size()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return 2 * trimCandidatesCount <= trimCandidateList.size();
|
||||
}
|
||||
|
||||
void WddmResidencyController::compactTrimCandidateList() {
|
||||
|
||||
Reference in New Issue
Block a user