get rid of the redundant parameter in RegisterHost

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
cleanup

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>