Code clean up

Signed-off-by: Alessandro D'Aquino (elara) <alex@midokura.com>