diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2016-07-02 20:17:46 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-14 18:23:33 +1000 |
commit | ffa5589230ee973d09f313979d53dc3bb1b3d507 (patch) | |
tree | c0577f2bf99d3b79eb5df742f02adf3e850d6eca | |
parent | 89c5f58131c965bf269039d10c7c7b49035a2529 (diff) | |
download | skiboot-ffa5589230ee973d09f313979d53dc3bb1b3d507.zip skiboot-ffa5589230ee973d09f313979d53dc3bb1b3d507.tar.gz skiboot-ffa5589230ee973d09f313979d53dc3bb1b3d507.tar.bz2 |
FSP/ELOG: Remove redundant validation
We don't need to validate msg->resp message as its always
allocated.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Reviewed-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | hw/fsp/fsp-elog-read.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/fsp/fsp-elog-read.c b/hw/fsp/fsp-elog-read.c index a8e5c12..e9332af 100644 --- a/hw/fsp/fsp-elog-read.c +++ b/hw/fsp/fsp-elog-read.c @@ -99,8 +99,6 @@ static void fsp_elog_ack_complete(struct fsp_msg *msg) { uint8_t val; - if (!msg->resp) - return; val = (msg->resp->word1 >> 8) & 0xff; if (val != 0) prerror("ELOG: Acknowledgment error\n"); |