remove useless functs

Signed-off-by: Victor Vieux <vieux@docker.com>