Remove unused variables.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Hopefully fix type signature.

Signed-off-by: Stefan Marr <git@stefan-marr.de>