Remove workless code