[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
false.

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;
 	default:
-		prlog(PR_WARNING, PREFIX "Invalid FSP async sub command %06x\n",
-		      cmd_sub_mod);
 		return false;
 	}
 	cmd |= FSP_STATUS_GENERIC_ERROR;



More information about the Skiboot mailing list