From 4e730838a00d7dc40931d1c6efb2008bac702e93 Mon Sep 17 00:00:00 2001 From: normal Date: Tue, 5 Jun 2018 22:01:43 +0000 Subject: encoding.c: remove rb_gc_mark_encodings rb_gc_mark_encodings has been empty for a decade (since r17875 / 28b216ac45262819f8bc7be0b1417a707974f94b). Just remove it and its only caller in gc.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gc.c') diff --git a/gc.c b/gc.c index 13086a8745..feac07279a 100644 --- a/gc.c +++ b/gc.c @@ -4850,9 +4850,6 @@ gc_mark_roots(rb_objspace_t *objspace, const char **categoryp) MARK_CHECKPOINT("machine_context"); mark_current_machine_context(objspace, ec); - MARK_CHECKPOINT("encodings"); - rb_gc_mark_encodings(); - /* mark protected global variables */ MARK_CHECKPOINT("global_list"); for (list = global_list; list; list = list->next) { -- cgit v1.2.3