[PATCH 2/3] lpd: Remove redundant warning message

Vasant Hegde <[email protected]> Mon, 21 Nov 2016 15:10:33 +0530
Newsgroups gmane.linux.tools.diag.devel
Message-ID <[email protected]>
We will be able to support indicators from other sources (like HDD)
even though OPAL platform indicators are not present.

Also leds_powernv driver is loaded automatically if we have platform
support.

Hence remove this message.

Signed-off-by: Vasant Hegde <[email protected]>
---
 lpd/indicator_opal.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/lpd/indicator_opal.c b/lpd/indicator_opal.c
index 712f57f..f9780fc 100644
--- a/lpd/indicator_opal.c
+++ b/lpd/indicator_opal.c
@@ -314,8 +314,6 @@ opal_indicator_probe_led_class(void)
 		return 0;
 	}
 
-	fprintf(stderr, "Some service indicators are not supported on this system."
-		"\nMake sure 'leds_powernv' kernel module is loaded.\n");
 	close_sysfs_led_dir(led_dir);
 	return rc;
 }


------------------------------------------------------------------------------