Remove some more dead code

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>