]> git.ozlabs.org Git - petitboot/blobdiff - discover/event-parser.c
discover: handle boot_option->device_id entirely within handler
[petitboot] / discover / event-parser.c
index 45d7b3a3ed56b24fee4f9af904696f530a0ff1ba..240f8976249c13decf3b720f740d2580560553c0 100644 (file)
@@ -64,7 +64,6 @@ int parse_user_event(struct discover_context *ctx, struct event *event)
        }
 
        opt->id = talloc_asprintf(opt, "%s#%s", dev->id, p);
-       opt->device_id = talloc_strdup(opt, dev->id);
        opt->name = talloc_strdup(opt, p);
 
        d_opt->boot_image = user_event_resource(d_opt, event, "image");