Remove useless code

Was leftover from previous attempt at lambda argument count checking.