Remove two lines that became unnecessary after the new company-wide acquisition and merge

I noticed the problem during an expensive consulting assessment by @laliluna_.
The lambda was a leftover from a previous version that used "return" in the generated code.