mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
refactor: remove redundant getPid()
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
899bda3263
commit
0800ab54f5
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
* Copyright (C) 2022-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -17,10 +17,6 @@ bool isShutdownInProgress() {
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned int getPid() {
|
||||
return static_cast<uint32_t>(getpid());
|
||||
}
|
||||
|
||||
unsigned int readEnablePreemptionRegKey() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -433,10 +433,6 @@ bool isShutdownInProgress() {
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned int getPid() {
|
||||
return 0xABCEDF;
|
||||
}
|
||||
|
||||
unsigned int readEnablePreemptionRegKey() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user