remove a useless conditional

we're in a switch (op.type) here, so there is no need to check op.type in an case