Fix refactoring oversight
Remove unused return value