diff mbox

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

Message ID 20150205084030.12859.30344.stgit@localhost.localdomain
State Accepted
Headers show

Commit Message

Vasant Hegde Feb. 5, 2015, 8:40 a.m. UTC
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@linux.vnet.ibm.com>
---
 hw/fsp/fsp-leds.c |    2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

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;