Remove an unused static method

This was added in 44640712f without actually being used.