aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-02-05 14:10:30 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-13 16:50:38 +1100
commita92ddd8a793b14e0d9f2e9d859c7ff62a5227661 (patch)
tree6373e1752c44a31728e57f36d701686e07542a04 /hw
parente9097178e2a66e27fe325a6a9d6c9e3ced5c8432 (diff)
downloadskiboot-a92ddd8a793b14e0d9f2e9d859c7ff62a5227661.zip
skiboot-a92ddd8a793b14e0d9f2e9d859c7ff62a5227661.tar.gz
skiboot-a92ddd8a793b14e0d9f2e9d859c7ff62a5227661.tar.bz2
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 <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/fsp/fsp-leds.c2
1 files changed, 0 insertions, 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;