Remove dead code

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

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