diff options
| author | Ruchi Kandoi <kandoiruchi@google.com> | 2017-03-27 13:23:24 -0700 |
|---|---|---|
| committer | Ruchi Kandoi <kandoiruchi@google.com> | 2017-04-03 20:59:52 +0000 |
| commit | 72de70c82f0a816b235c77288ccd23f17d2e74a7 (patch) | |
| tree | 06a93088f78e556e3e78b17cabd8a7d867bd0be6 /halimpl | |
| parent | 4db7bde9e0ccaab3cd9d1294e19108926038c0ff (diff) | |
| download | android_hardware_broadcom_nfc-72de70c82f0a816b235c77288ccd23f17d2e74a7.tar.gz android_hardware_broadcom_nfc-72de70c82f0a816b235c77288ccd23f17d2e74a7.tar.bz2 android_hardware_broadcom_nfc-72de70c82f0a816b235c77288ccd23f17d2e74a7.zip | |
isNxpConfigModified() is only used for debug purpose, removing it.
Test: compiles
Bug: 35710290
Change-Id: I56d30a2c0edd5969164227be3b1e28bee58a38f2
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Diffstat (limited to 'halimpl')
| -rw-r--r-- | halimpl/pn54x/hal/phNxpNciHal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/halimpl/pn54x/hal/phNxpNciHal.c b/halimpl/pn54x/hal/phNxpNciHal.c index 98a17f9..4ccc873 100644 --- a/halimpl/pn54x/hal/phNxpNciHal.c +++ b/halimpl/pn54x/hal/phNxpNciHal.c @@ -1087,8 +1087,7 @@ int phNxpNciHal_core_initialized(uint8_t* p_core_init_rsp_params) { } #ifdef PN547C2_CLOCK_SETTING - if (isNxpConfigModified() || (fw_download_success == 1) || - (phNxpNciClock.issetConfig) + if ((fw_download_success == 1) || (phNxpNciClock.issetConfig) #if (NFC_NXP_HFO_SETTINGS == TRUE) || temp_fix == 1 #endif @@ -1145,7 +1144,7 @@ int phNxpNciHal_core_initialized(uint8_t* p_core_init_rsp_params) { } } - if (isNxpConfigModified() || (fw_download_success == 1)) { + if (fw_download_success == 1) { retlen = 0; fw_download_success = 0; |
