These functions are identical, so leave only one of them and simply remove the other one. See #23262.