src/structures: remove dead code