Skip to content

Commit 74cc060

Browse files
committed
Clear unused code
1 parent 8146b6f commit 74cc060

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Python/pystate.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,13 +1847,6 @@ _PyThreadState_RemoveExcept(PyThreadState *tstate)
18471847
{
18481848
assert(tstate != NULL);
18491849
PyInterpreterState *interp = tstate->interp;
1850-
_PyRuntimeState *runtime = interp->runtime;
1851-
1852-
#ifdef Py_GIL_DISABLED
1853-
assert(runtime->stoptheworld.world_stopped);
1854-
#else
1855-
assert(runtime != NULL);
1856-
#endif
18571850

18581851
INTERP_THREAD_LOCK(interp);
18591852
/* Remove all thread states, except tstate, from the linked list of

0 commit comments

Comments
 (0)