gc.c: Remove no-op code
In this context, `vm_locked` is a argument variable, and is not used later in the function.
This commit is contained in:
parent
3fb455adab
commit
c7e35e5534
Notes:
git
2025-02-10 19:21:27 +00:00
@ -2404,7 +2404,6 @@ newobj_cache_miss(rb_objspace_t *objspace, rb_ractor_newobj_cache_t *cache, size
|
||||
|
||||
if (!vm_locked) {
|
||||
lev = rb_gc_cr_lock();
|
||||
vm_locked = true;
|
||||
unlock_vm = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user