From a92ddd8a793b14e0d9f2e9d859c7ff62a5227661 Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Thu, 5 Feb 2015 14:10:30 +0530 Subject: FSP/LEDS: Remove redundant log message 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 Signed-off-by: Stewart Smith --- hw/fsp/fsp-leds.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw') 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; -- cgit v1.1