Skip to content

Commit 4c7628d

Browse files
authored
Merge branch 'added-tests' into acquireCore-fix
2 parents d16bf60 + cf3383a commit 4c7628d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

affinity/src/main/java/net/openhft/affinity/AffinityLock.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,6 @@ private static boolean isInvalidCpuId(int cpuId) {
201201
return false;
202202
}
203203

204-
private static void checkCpuId(int cpuId) {
205-
if (cpuId < 0 || cpuId >= PROCESSORS) {
206-
LOGGER.warn("cpuId must be between 0 and {}: {}", PROCESSORS - 1, cpuId);
207-
}
208-
}
209-
210204
/**
211205
* Assign a cpu which can be bound to the current thread or another thread
212206
* Caller passes in an explicit set of preferred CPUs

0 commit comments

Comments
 (0)