Skip to content

Commit 8a32303

Browse files
author
Peter Lawrey
committed
Extract common code in Excerpts to an abstract parent.
1 parent 227b542 commit 8a32303

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/vanilla/java/affinity/AffinityLock.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public static void cpuLayout(CpuLayout cpuLayout) {
7575
synchronized (AffinityLock.class) {
7676
AffinityLock.cpuLayout = cpuLayout;
7777
LOCKS = new AffinityLock[cpuLayout.cpus()];
78-
int cores = cpuLayout.sockets() * cpuLayout.coresPerSocket();
7978
int threads = cpuLayout.threadsPerCore();
8079
CORES = new TreeMap<Integer, AffinityLock[]>();
8180
for (int i = 0; i < cpuLayout.cpus(); i++) {

0 commit comments

Comments
 (0)