Remove an unused static function.