[OPT] Remove useless code