remove dead code

Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>