Remove extraneous assignment to `mode`.