Fix the build break by removing an unreferenced static function.