[PATCH 12/29] discover/status: remove completion messages

Samuel Mendoza-Jonas sam at mendozajonas.com
Mon Dec 19 15:18:58 AEDT 2016


From: Jeremy Kerr <jk at ozlabs.org>

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 at ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
 discover/device-handler.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/discover/device-handler.c b/discover/device-handler.c
index fd9b155..6296520 100644
--- a/discover/device-handler.c
+++ b/discover/device-handler.c
@@ -939,8 +939,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;
@@ -964,8 +962,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;
-- 
2.10.2



More information about the Petitboot mailing list