remove some dead code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>