[Utils] Remove the unused function.