Variable assignment is redundant; value can be returned directly

See: https://error-prone.picnic.tech/bugpatterns/DirectReturn