Remove unnecessary ret variable.