Skip to content

Commit 978cf37

Browse files
committed
Removing unused parameter.
1 parent 1f225a2 commit 978cf37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/MultiprocessingModuleBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ long spawn(VirtualFrame frame, int fd, int sentinel, PList keepFds,
186186
keep[i] = castToJavaIntNode.execute(item);
187187
}
188188
PythonContext context = getContext();
189-
long tid = context.spawnTruffleContext(context, fd, sentinel, keep);
189+
long tid = context.spawnTruffleContext(fd, sentinel, keep);
190190
return convertTid(tid);
191191
}
192192
}

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ public SharedMultiprocessingData getSharedMultiprocessingData() {
778778
return sharedMultiprocessingData;
779779
}
780780

781-
public long spawnTruffleContext(PythonContext context, int fd, int sentinel, int[] fdsToKeep) {
781+
public long spawnTruffleContext(int fd, int sentinel, int[] fdsToKeep) {
782782
ChildContextData data = new ChildContextData();
783783
if (!isChildContext()) {
784784
data.setParentContext(this);

0 commit comments

Comments
 (0)