[Skiboot] [PATCH 12/22] FSP/LEDS: Remove redundant log message

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Feb 5 19:40:30 AEDT 2015

There may be other drivers which are registered for same MCLASS.
Hence don't log warning message in default case.. Just return

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
 hw/fsp/fsp-leds.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c
index f2fb501..127b58a 100644
--- a/hw/fsp/fsp-leds.c
+++ b/hw/fsp/fsp-leds.c
@@ -934,8 +934,6 @@ static bool fsp_indicator_message(u32 cmd_sub_mod, struct fsp_msg *msg)
 		      command received\n");
 		return true;
-		prlog(PR_WARNING, PREFIX "Invalid FSP async sub command %06x\n",
-		      cmd_sub_mod);
 		return false;

More information about the Skiboot mailing list