Remove unnecessary result variable