[sgen] Remove dead code.