toplev: remove unnecessary checks