remove unused code

Signed-off-by: Andrea Righi <andrea@betterlinux.com>