[enh] Remove unnecessary lines