wls_chg: remove check chip id function

For original usage, function check_chip_id is used to decide
whether FW need to be upgraded. But we have change it by
FW version checking. So this function will not used any more.
We should remove it.

Change-Id: Idbf875a8491f8321755c56f9b8cc5f2310409214
Reviewed-on: https://gerrit.mot.com/2255040
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weiweij 2022-04-28 09:23:10 +08:00 • committed by Wei Wei
commit 69576bbb34

View file

@ -418,16 +418,6 @@ static int cps_wls_program_wait_cmd_done(void)
return CPS_WLS_SUCCESS;
}
static bool cps_check_chip_id(void)
{
int id = cps_wls_get_chip_id();
cps_wls_log(CPS_LOG_DEBG, "[%s] chip id 0x%x\n", __func__, id);
return ((id == CPS4019_CHIP_ID) || (id == -1)) ? TRUE : FALSE;
}
*/
static bool cps_check_fw_ver(void)
{
int fw_major, fw_minor;