Get rid of unused method

It's usage has been removed in 325c9d5e5235db4b5210d9db6c863835d1ac7eed.