[PATCH v2 1/2] domain_conf: remove else after return / goto