refactoring: remove not used code.

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