Remove useless code