Remove unused static function from language C implementation