From 386b956ad8fb6883512d17646d6eddd02e6e0d6a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 20 Feb 2024 20:08:52 +0900 Subject: [PATCH] Remove never used method --- test/ruby/test_gc_compact.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index 5049af1ab4..adf82620f3 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true require 'test/unit' -require 'etc' if RUBY_PLATFORM =~ /s390x/ warn "Currently, it is known that the compaction does not work well on s390x; contribution is welcome https://github.com/ruby/ruby/pull/5077" @@ -111,10 +110,6 @@ class TestGCCompact < Test::Unit::TestCase end end - def os_page_size - return true unless defined?(Etc::SC_PAGE_SIZE) - end - def test_gc_compact_stats list = []