- if (!state->found_suse || (*value == '/')) {
- state->opt->initrd_file = resolve_path(state->opt,
- value, conf->dc->device_path);
- state->desc_initrd = talloc_asprintf(state, "initrd=%s",
- value);
- } else {
- char *s;
- asprintf(&s, "/suseboot/%s", value);
- state->opt->initrd_file = resolve_path(state->opt,
- s, conf->dc->device_path);
- state->desc_initrd = talloc_asprintf(state, "initrd=%s",
- s);
- free(s);
- }
+ state->opt->initrd_file = resolve_path(state->opt,
+ value, conf->dc->device_path);
+ state->desc_initrd = talloc_asprintf(state, "initrd=%s",
+ value);