dxa: remove useless code