refactoring: remove dead code.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>