Removal of dead code was incomplete

Signed-off-by: Marc Delisle <marc@infomarc.info>