[12/29] discover/status: remove completion messages
diff mbox

Message ID 20161219041915.30497-13-sam@mendozajonas.com
State Accepted
Headers show

Commit Message

Samuel Mendoza-Jonas Dec. 19, 2016, 4:18 a.m. UTC
From: Jeremy Kerr <jk@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@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 discover/device-handler.c | 4 ----
 1 file changed, 4 deletions(-)

Patch
diff mbox

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;