]> git.ozlabs.org Git - petitboot/commitdiff
discover/status: remove completion messages
authorJeremy Kerr <jk@ozlabs.org>
Mon, 12 Dec 2016 09:34:42 +0000 (17:34 +0800)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 05:40:21 +0000 (16:40 +1100)
The completion messages are unconditional, so don't really indicate
anything. In fact, the dhcp completion status is misleading, as we may
still be processing the context through pxe callbacks.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c

index f8b7bf5be94f9f87be9d4b588ff43a708ec42bfb..5f63a6eedf20a2c78901f76adf19cc7954dd7994 100644 (file)
@@ -940,8 +940,6 @@ int device_handler_discover(struct device_handler *handler,
        device_handler_discover_context_commit(handler, ctx);
 
 out:
-       device_handler_status_dev_info(handler, dev, _("Processing complete"));
-
        talloc_unlink(handler, ctx);
 
        return 0;
@@ -965,8 +963,6 @@ int device_handler_dhcp(struct device_handler *handler,
 
        device_handler_discover_context_commit(handler, ctx);
 
-       device_handler_status_dev_info(handler, dev, _("Processing complete"));
-
        talloc_unlink(handler, ctx);
 
        return 0;