Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
Change-Id: I376894941de04d9d685b97e14ae30b49a1aac8e9
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49817
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
  • Loading branch information
cjcain committed Nov 16, 2017
1 parent c344697 commit 601b1eb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/occ_405/pss/avsbus.c
Expand Up @@ -848,7 +848,6 @@ uint16_t avsbus_read_status(const avsbus_type_e i_type)

// Since read was started in previous tick, it should have already completed
// (no need to poll/wait on o2s_ongoing)
enum occReasonCode rc = OCC_SUCCESS_REASON_CODE;
uint32_t l_status = in32(OCB_O2SSTxB[l_data.bus]);
DEBUG_IN32(OCB_O2SSTxB[l_data.bus], l_status, "OCB_O2SSTxB");
// OCC O2S Status Register
Expand All @@ -869,7 +868,6 @@ uint16_t avsbus_read_status(const avsbus_type_e i_type)
{
TRAC_ERR("avsbus_read_status: Error found in Vd%c O2SST[0x%08X] = [0x%08X]",
l_trace_type, OCB_O2SSTxB[l_data.bus], l_status);
rc = AVSBUS_ERROR;
}
}
else if (l_status & AVSBUS_STATUS_ONGOING) // o2s_ongoing
Expand All @@ -881,7 +879,6 @@ uint16_t avsbus_read_status(const avsbus_type_e i_type)
{
TRAC_ERR("avsbus_read_status: Vd%c timeout waiting for o2s_ongoing change O2SST[0x%08X] = [0x%08X]",
l_trace_type, OCB_O2SSTxB[l_data.bus], l_status);
rc = AVSBUS_TIMEOUT;
}
}

Expand Down Expand Up @@ -909,7 +906,6 @@ uint16_t avsbus_read_status(const avsbus_type_e i_type)
{
TRAC_ERR("avsbus_read_status: CRC mismatch in Vd%c rsp O2SRD[0x%08X] = [0x%08X] (calculated CRC 0x%08X)",
l_trace_type, OCB_O2SRDxB[l_data.bus], value, crc);
rc = AVSBUS_CRC_ERROR;
}
}
// Check for valid command operation and extract read data
Expand Down Expand Up @@ -950,7 +946,6 @@ uint16_t avsbus_read_status(const avsbus_type_e i_type)
if ((*l_error_count == 1) || (*l_error_count == MAX_READ_ATTEMPTS))
{
TRAC_ERR("avsbus_read_status: SlaveAck reported no action taken[0x%08X]", value);
rc = AVSBUS_ERROR;
}
}
}
Expand Down

0 comments on commit 601b1eb

Please sign in to comment.