Remove unused param from private function